import { z } from 'zod'; export declare const SLACK_SEARCH_PAGE_SIZE = 200; declare const cursorSchema: z.ZodObject<{ kind: z.ZodEnum<["users", "channels"]>; searchKey: z.ZodString; cursor: z.ZodOptional; offset: z.ZodNumber; }, "strip", z.ZodTypeAny, { kind: "channels" | "users"; searchKey: string; cursor?: string | undefined; offset: number; }, { kind: "channels" | "users"; searchKey: string; cursor?: string | undefined; offset: number; }>; type SearchKind = z.infer['kind']; export type SlackSearchPosition = Pick, 'cursor' | 'offset'>; export declare function readSlackSearchCursor(kind: SearchKind, searchKey: string, cursor?: string): SlackSearchPosition; export declare function selectSlackSearchPage(params: { kind: SearchKind; searchKey: string; matches: T[]; limit: number; position: SlackSearchPosition; nextCursor?: string; }): { results: T[]; nextCursor?: string; }; export {};