import { client } from "../client"; import { normalizePage, pageQuery, type Page, type PageParams } from "../client"; import type { User } from "../client"; export async function getUsers(params?: PageParams, signal?: AbortSignal): Promise> { const data = await client(`/users${pageQuery(params)}`, { signal }); return normalizePage(data); }