import type { SearchResult } from '@doist/twist-sdk'; export type SearchType = 'threads' | 'messages' | 'all'; export interface ExtendedSearchParams { workspaceId: number; query?: string; title?: string; type?: SearchType; channelIds?: number[]; conversationIds?: number[]; 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