import type { AgentTool } from "@earendil-works/pi-agent-core"; import { type Static, Type } from "typebox"; import type { ToolDefinition } from "../extensions/types.ts"; import { type GrepToolOptions } from "./grep.ts"; import { type HashlineSnapshotStore } from "./hashline.ts"; import { type SearchToolDetails } from "./search-details.ts"; export type { SearchToolDetails } from "./search-details.ts"; declare const searchSchema: Type.TObject<{ pattern: Type.TString; paths: Type.TOptional]>>; i: Type.TOptional; gitignore: Type.TOptional; case: Type.TOptional; skip: Type.TOptional>; }>; export declare const searchToolSystemPromptContribution: Readonly<{ readonly snippet: "Search file contents with regex patterns."; readonly guidelines: readonly []; }>; export type SearchToolInput = Static; export type SearchToolOptions = GrepToolOptions & { hashlineStore?: HashlineSnapshotStore; contextBefore?: number; contextAfter?: number; }; export declare function createSearchToolDefinition(cwd: string, options?: SearchToolOptions): ToolDefinition; export declare function createSearchTool(cwd: string, options?: SearchToolOptions): AgentTool; //# sourceMappingURL=search.d.ts.map