/** * Command registration manager for subtask functionality. * * Manages the /subtask slash command registration and the SUBTASK_COMMAND * template that guides the AI in generating subtask prompts. */ import type { PluginInput } from '@opencode-ai/plugin'; import type { SubtaskState } from './state'; /** * Creates a subtask command manager. * * Handles registration of the /subtask command and processing of chat * messages to inject synthetic file parts for subtask sessions. */ export declare function createSubtaskCommandManager(_ctx: PluginInput, state: SubtaskState): { registerCommand: (opencodeConfig: Record) => void; handleEvent(input: { event: { type: string; properties?: { info?: { id?: string; parentID?: string; }; sessionID?: string; }; }; }): void; }; export type SubtaskCommandManager = ReturnType;