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<import("../../toolcraft-schema/dist/index.js").NumberSchema>;
    readonly detail: import("../../toolcraft-schema/dist/index.js").OptionalSchema<import("../../toolcraft-schema/dist/index.js").EnumSchema<readonly ["brief", "detailed", "full"]>>;
}>, 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<import("../../toolcraft-schema/dist/index.js").NumberSchema>;
        readonly detail: import("../../toolcraft-schema/dist/index.js").OptionalSchema<import("../../toolcraft-schema/dist/index.js").EnumSchema<readonly ["brief", "detailed", "full"]>>;
    }>, SearchResult[], ("cli" | "mcp" | "sdk")[], undefined>;
};
