import type { LevelCodeToolOutput } from '../../../common/src/tools/list';
import { Logger } from '@levelcode/common/types/contracts/logger';
export declare function codeSearch({ projectPath, pattern, flags, cwd, maxResults, globalMaxResults, maxOutputStringLength, timeoutSeconds, logger, }: {
    projectPath: string;
    pattern: string;
    flags?: string;
    cwd?: string;
    maxResults?: number;
    globalMaxResults?: number;
    maxOutputStringLength?: number;
    timeoutSeconds?: number;
    logger?: Logger;
}): Promise<LevelCodeToolOutput<'code_search'>>;
