/** * Command registration manager for fork functionality. * * Manages the /fork slash command registration and template. */ import type { PluginInput } from '@opencode-ai/plugin'; import type { ForkState } from './state'; /** * Creates a fork command manager. * * Handles registration of the /fork command and fork session state events. */ export declare function createForkCommandManager(_ctx: PluginInput, state: ForkState, _processedSessions?: Set): { registerCommand: (opencodeConfig: Record) => void; handleEvent(input: { event: { type: string; properties?: { info?: { id?: string; parentID?: string; }; sessionID?: string; }; }; }): void; }; export type ForkCommandManager = ReturnType;