/** Agent-agnostic tool definition. Each adapter translates it to its framework's tool format. */ interface AgentTool { description: string; execute: (input: unknown) => Promise | unknown; name: string; parameters: Record; } export declare const DEFAULT_IGNORE_PATTERNS: readonly string[]; interface ListFilesOptions { ignore?: readonly string[] | string; patterns?: readonly string[] | string; } export declare function listFiles(root: string, options?: ListFilesOptions): Promise; export declare function toStringArray(value: readonly string[] | string | undefined): string[]; export declare function readFile(cwd: string, inputPath: string | undefined): Promise; interface SearchOptions extends ListFilesOptions { directory?: string; } export declare function searchFiles(cwd: string, query: string, options?: SearchOptions): Promise; export declare function searchInFiles(cwd: string, query: string, options?: SearchOptions): Promise; export interface CreateToolsOptions { ignore?: readonly string[] | string; } export declare function createTools(cwd: string, options?: CreateToolsOptions): AgentTool[]; export type { ListFilesOptions, SearchOptions };