import { type Group, type Scope } from "../../toolcraft/dist/index.js"; import { type CreateSDKOptions } from "../../toolcraft/dist/sdk.js"; import { type ExecuteBudgetOptions } from "./execute.js"; import { type SearchDetail } from "./search.js"; export type CodeModeCommandOptions = { scope?: Scope[]; }; export type CodeModeOptions> = CreateSDKOptions & { budget?: ExecuteBudgetOptions; search?: CodeModeCommandOptions & { defaultDetail?: SearchDetail; defaultLimit?: number; }; getSchemas?: CodeModeCommandOptions; execute?: CodeModeCommandOptions; }; export declare function codeMode>(root: Group, options?: CodeModeOptions): Group<{ [x: string]: never; }> & { readonly __agentKitGroupTypeInfo: import("../../toolcraft/dist/index.js").GroupTypeInfo<{ [x: string]: never; }, "code_mode", ((import("../../toolcraft/dist/index.js").Command<{ [x: string]: never; }, import("../../toolcraft/dist/index.js").ObjectSchema<{ readonly source: import("../../toolcraft/dist/index.js").StringSchema; }>, undefined, import("./execute.js").ExecuteResult> & { readonly __agentKitCommandTypeInfo: import("../../toolcraft/dist/index.js").CommandTypeInfo<"execute", import("../../toolcraft/dist/index.js").ObjectSchema<{ readonly source: import("../../toolcraft/dist/index.js").StringSchema; }>, import("./execute.js").ExecuteResult, ("cli" | "mcp" | "sdk")[], undefined>; }) | (import("../../toolcraft/dist/index.js").Command<{ [x: string]: never; }, import("../../toolcraft/dist/index.js").ObjectSchema<{ readonly names: import("../../toolcraft/dist/index.js").ArraySchema; }>, undefined, import("./get-schemas.js").GetSchemasResult> & { readonly __agentKitCommandTypeInfo: import("../../toolcraft/dist/index.js").CommandTypeInfo<"get_schemas", import("../../toolcraft/dist/index.js").ObjectSchema<{ readonly names: import("../../toolcraft/dist/index.js").ArraySchema; }>, import("./get-schemas.js").GetSchemasResult, ("cli" | "mcp" | "sdk")[], undefined>; }) | (import("../../toolcraft/dist/index.js").Command<{ [x: string]: never; }, import("../../toolcraft/dist/index.js").ObjectSchema<{ readonly query: import("../../toolcraft/dist/index.js").StringSchema; readonly limit: import("../../toolcraft/dist/index.js").OptionalSchema; readonly detail: import("../../toolcraft/dist/index.js").OptionalSchema>; }>, undefined, import("./search.js").SearchResult[]> & { readonly __agentKitCommandTypeInfo: import("../../toolcraft/dist/index.js").CommandTypeInfo<"search", import("../../toolcraft/dist/index.js").ObjectSchema<{ readonly query: import("../../toolcraft/dist/index.js").StringSchema; readonly limit: import("../../toolcraft/dist/index.js").OptionalSchema; readonly detail: import("../../toolcraft/dist/index.js").OptionalSchema>; }>, import("./search.js").SearchResult[], ("cli" | "mcp" | "sdk")[], undefined>; }))[], ("mcp" | "sdk")[], undefined>; }; export { makeExecuteCommand, type ExecuteBudgetOptions, type ExecuteCommandOptions, type ExecuteResult, type ExecuteRuntimeError, type ExecuteSink } from "./execute.js"; export { makeGetSchemasCommand, type GetSchemasCommandOptions, type GetSchemasResult } from "./get-schemas.js"; export { buildHostModules, type BuildHostModulesResult, type HostLintModules, type HostModuleFunction, type HostModules } from "./host-modules.js"; export { makeSearchCommand, type SearchCommandOptions, type SearchDefaults, type SearchDetail, type SearchResult } from "./search.js"; export { resolveCommandTree, type CommandEntry, type CommandEntryList, type CommandTree, type ResolveCommandTreeOptions } from "./tree.js"; export type { CreateSDKOptions };