export type ChatCommand = { type: 'build'; } | { type: 'stop'; } | { type: 'help'; } | { type: 'plan'; } | { type: 'status'; } | { type: 'diff'; } | { type: 'pr'; } | { type: 'tasks'; } | { type: 'feedback'; text: string; } | { type: 'message'; text: string; }; export declare function parseInput(input: string): ChatCommand; export declare function getHelpText(): string; export interface ChatLoopCallbacks { onBuild: () => Promise; onStop: () => Promise; onMessage: (text: string) => Promise; onFeedback?: (text: string) => Promise; onPlan?: () => Promise; onStatus?: () => Promise; onDiff?: () => Promise; onPr?: () => Promise; onTasks?: () => Promise; } export declare function runChatLoop(sessionId: string, callbacks: ChatLoopCallbacks): Promise; //# sourceMappingURL=chat.d.ts.map