import type { RouteContext } from './types.js';
interface ActiveExecution {
    id: string;
    tool: string;
    mode: string;
    prompt: string;
    startTime: number;
    output: string;
    status: 'running' | 'completed' | 'error';
}
/**
 * Get all active CLI executions
 * Used by frontend to restore state when view is opened during execution
 */
export declare function getActiveExecutions(): ActiveExecution[];
/**
 * Handle CLI routes
 * @returns true if route was handled, false otherwise
 */
export declare function handleCliRoutes(ctx: RouteContext): Promise<boolean>;
export {};
//# sourceMappingURL=cli-routes.d.ts.map