import { type Tool } from 'ai'; import { z } from 'zod'; import type { ToolInit } from './fs-tools.ts'; import type { ToolOutputStore } from './tool-output-store.ts'; export declare const grepInputSchema: z.ZodObject<{ pattern: z.ZodString; path: z.ZodOptional; glob: z.ZodOptional; ignoreCase: z.ZodOptional; filesWithMatches: z.ZodOptional; count: z.ZodOptional; contextBefore: z.ZodOptional; contextAfter: z.ZodOptional; includeHidden: z.ZodOptional; maxResults: z.ZodOptional; }, z.core.$strip>; export declare const globInputSchema: z.ZodObject<{ pattern: z.ZodString; path: z.ZodOptional; includeHidden: z.ZodOptional; }, z.core.$strip>; export type GrepInput = z.infer; export type GrepOutput = { matches: string[]; truncated: boolean; spillPath?: string; }; export type GlobInput = z.infer; export type GlobOutput = { files: string[]; truncated: boolean; spillPath?: string; }; export type SearchToolInit = ToolInit & { outputStore?: ToolOutputStore; }; export declare function grepTool(init: SearchToolInit): Tool; export declare function globTool(init: SearchToolInit): Tool; export declare function globToRegExp(glob: string): RegExp;