import { type SearchResult } from '@doist/comms-sdk'; export type SearchType = 'threads' | 'messages' | 'conversations' | 'all'; export interface ExtendedSearchParams { workspaceId: number; query?: string; title?: string; type?: SearchType; channelIds?: string[]; conversationIds?: string[]; authorIds?: number[]; toUserIds?: number[]; mentionSelf?: boolean; dateFrom?: string; dateTo?: string; limit?: number; cursor?: string; } export interface ExtendedSearchResponse { items: SearchResult[]; nextCursorMark?: string; hasMore: boolean; isPlanRestricted: boolean; } export declare function extendedSearch(params: ExtendedSearchParams): Promise; //# sourceMappingURL=search-api.d.ts.map