/** * Represents a generic search result payload from the server. * * @template T - The type of the items contained in the result. */ export type SearchResult = { /** Total number of matching results (across all pages). */ total: number; /** Current page of results. */ results: T[]; };