import type { CommandOptions } from '../../lib/types.js'; export interface GrepOptions extends CommandOptions { tools?: boolean | undefined; resources?: boolean | undefined; prompts?: boolean | undefined; instructions?: boolean | undefined; regex?: boolean | undefined; caseSensitive?: boolean | undefined; maxResults?: number | undefined; } export declare function extractInstructionsSnippet(instructions: string, pattern: string, options: { regex?: boolean | undefined; caseSensitive?: boolean | undefined; }): string | false; export declare function grepSession(session: string, pattern: string, options: GrepOptions): Promise; export declare function grepAllSessions(pattern: string, options: GrepOptions): Promise; //# sourceMappingURL=grep.d.ts.map