import { type Scope } from "../../toolcraft/dist/index.js"; import { type CommandEntryList } from "./tree.js"; export type SearchDetail = "brief" | "detailed" | "full"; export type SearchDefaults = { detail?: SearchDetail; limit?: number; }; export type SearchCommandOptions = { entries: CommandEntryList; defaults?: SearchDefaults; scope?: Scope[]; }; export type SearchResult = { path: string; description: string; schema?: object; }; export declare function makeSearchCommand({ entries, defaults, scope }: SearchCommandOptions): import("../../toolcraft/dist/index.js").Command<{ [x: string]: never; }, import("../../toolcraft-schema/dist/index.js").ObjectSchema<{ readonly query: import("../../toolcraft-schema/dist/index.js").StringSchema; readonly limit: import("../../toolcraft-schema/dist/index.js").OptionalSchema; readonly detail: import("../../toolcraft-schema/dist/index.js").OptionalSchema>; }>, undefined, SearchResult[]> & { readonly __agentKitCommandTypeInfo: import("../../toolcraft/dist/index.js").CommandTypeInfo<"search", import("../../toolcraft-schema/dist/index.js").ObjectSchema<{ readonly query: import("../../toolcraft-schema/dist/index.js").StringSchema; readonly limit: import("../../toolcraft-schema/dist/index.js").OptionalSchema; readonly detail: import("../../toolcraft-schema/dist/index.js").OptionalSchema>; }>, SearchResult[], ("cli" | "mcp" | "sdk")[], undefined>; };