/** * Shell-completion host leaf. * * The caller supplies the live host surface projection so this leaf remains * independent of top-level host composition and cannot introduce a * completion-builder cycle. */ import { type GroupLike, type SpecLike, type ToolPluginGroupLike } from './completion.js'; import type { HostRuntimeCommandSpec } from './host-runtime-access.js'; import type { CliCommandsContext } from './shared.js'; export interface HostCompletionSurface { readonly specs: readonly SpecLike[]; readonly groups: readonly GroupLike[]; readonly toolPluginGroups: readonly ToolPluginGroupLike[]; } /** Build the raw-stream shell-completion command. */ export declare function createCompletionCommandSpec(ctx: CliCommandsContext, hostSurface: () => HostCompletionSurface): HostRuntimeCommandSpec; //# sourceMappingURL=host-completion-command-spec.d.ts.map