import { Command } from 'commander'; import type { PaginatedViewOptions } from './options.js'; import { type ExtendedSearchResponse, type SearchType } from './search-api.js'; export type SharedSearchOptions = PaginatedViewOptions & { workspace?: string; channel?: string; author?: string; to?: string; type?: SearchType; conversation?: string; cursor?: string; all?: boolean; }; type SearchRequestOptions = SharedSearchOptions & { query?: string; title?: string; mentionSelf?: boolean; }; interface SearchRunResult { workspaceId: number; response: ExtendedSearchResponse; } type SharedSearchOptionConfig = { addUniqueFilters?: (command: Command) => void; limitDescription?: string; }; export declare function addSharedSearchOptions(command: T, config?: SharedSearchOptionConfig): T; export declare function runSearch(workspaceRef: string | undefined, options: SearchRequestOptions): Promise; type SearchOutputOptions = Pick; export declare function printSearchResults(workspaceId: number, response: ExtendedSearchResponse, options: SearchOutputOptions): void; export {}; //# sourceMappingURL=search-helpers.d.ts.map