/**
 * Interactive Provider Workflow Manager
 * Handles the complete interactive AI workflow
 */
import { InteractiveProvider } from '../providers/interactive-provider.js';
export interface InteractiveWorkflowConfig {
    sessionFile?: string;
    responseFile?: string;
    autoWatch?: boolean;
    timeout?: number;
}
export interface SessionResult {
    sessionId: string;
    prompt: string;
    response?: string;
    timestamp: string;
    interface: string;
    status: 'pending' | 'completed' | 'timeout';
}
export declare class InteractiveWorkflow {
    private provider;
    private config;
    private activeSession?;
    constructor(provider: InteractiveProvider, config?: InteractiveWorkflowConfig);
    /**
     * Execute interactive workflow with automatic response collection
     */
    executeWithCollection(options: any): Promise<any>;
    /**
     * Wait for direct user input
     */
    private waitForDirectInput;
    /**
     * Wait for response file to be created/updated
     */
    private waitForResponseFile;
    /**
     * Complete session with response
     */
    private completeSession;
    /**
     * Save session data to file
     */
    private saveSession;
    /**
     * Create standard completion response
     */
    private createCompletionResponse;
    /**
     * Get session history
     */
    getSessionHistory(): SessionResult[];
    /**
     * Resume a previous session
     */
    resumeSession(sessionId: string): Promise<any>;
}
/**
 * Create workflow instance from configuration
 */
export declare function createInteractiveWorkflow(provider: InteractiveProvider, config?: InteractiveWorkflowConfig): InteractiveWorkflow;
/**
 * CLI helper for interactive workflows
 */
export declare function runInteractiveWorkflow(prompt: string, interface_type?: 'chatgpt' | 'claude' | 'gemini' | 'generic', options?: InteractiveWorkflowConfig): Promise<string>;
//# sourceMappingURL=interactive-workflow.d.ts.map