import { handleDiagnoseCommand } from './diagnose'; import { handleExportCommand } from './export'; import { handleResetCommand } from './reset'; export interface CommandInput { command: string; args?: string[]; } export interface TextPart { type: 'text'; text: string; } export interface CommandOutput { parts: TextPart[]; } export interface SwarmCommandHandler { (input: CommandInput, output: CommandOutput): Promise; } export declare function createSwarmCommandHandler(directory: string): SwarmCommandHandler; export { handleDiagnoseCommand, handleExportCommand, handleResetCommand };