/**
 * Delegation System Types
 */
/**
 * Session metadata for delegation tracking
 */
export interface SessionMetadata {
    id: string;
    profile: string;
    prompt: string;
    workingDir: string;
    startTime: number;
    endTime?: number;
    exitCode?: number;
    duration?: number;
}
/**
 * Delegation session (persisted)
 */
export interface DelegationSession {
    metadata: SessionMetadata;
    turns: number;
    lastPrompt?: string;
}
/**
 * Sessions registry
 * Located at: ~/.ccs/delegation-sessions.json
 */
export interface DelegationSessionsRegistry {
    sessions: Record<string, DelegationSession>;
    lastSessionId?: string;
}
export type { ExecutionResult } from '../delegation/executor/types';
/**
 * Real-time output event
 */
export interface ToolEvent {
    type: 'tool';
    tool: string;
    args: string;
    timestamp: number;
}
export interface OutputEvent {
    type: 'stdout' | 'stderr';
    data: string;
    timestamp: number;
}
export type DelegationEvent = ToolEvent | OutputEvent;
//# sourceMappingURL=delegation.d.ts.map