import type { GraphClientConfig } from "../lib/graph-client.js"; import type { MailListItem } from "./mail-list.js"; export interface MailSearchArgs { query: string; top?: number; /** * Opaque continuation from a prior call's `nextCursor` (an `@odata.nextLink` * URL). When set, `query` is ignored — the nextLink re-issues the original * search with its `$skiptoken`. */ cursor?: string; } export interface MailSearchResult { items: MailListItem[]; /** Opaque cursor for the next page; null when exhausted. */ nextCursor: string | null; } export declare function runMailSearch(config: GraphClientConfig, args: MailSearchArgs): Promise; //# sourceMappingURL=mail-search.d.ts.map