/**
 * Session state management for TAKT
 *
 * Manages the last task execution state for interactive mode notification.
 */
/** Last task execution state */
export interface SessionState {
    /** Task status */
    status: 'success' | 'error' | 'user_stopped';
    /** Task result summary (max 1000 chars) */
    taskResult?: string;
    /** Error message (if applicable) */
    errorMessage?: string;
    /** Execution timestamp (ISO8601) */
    timestamp: string;
    /** Workflow name used */
    workflowName: string;
    /** Task content (max 200 chars) */
    taskContent?: string;
    /** Last step name */
    lastStep?: string;
}
/**
 * Get path for storing session state
 */
export declare function getSessionStatePath(projectDir: string): string;
/**
 * Load session state from file
 * Returns null if file doesn't exist or parsing fails
 */
export declare function loadSessionState(projectDir: string): SessionState | null;
/**
 * Save session state to file (atomic write)
 */
export declare function saveSessionState(projectDir: string, state: SessionState): void;
/**
 * Clear session state file
 * Does nothing if file doesn't exist
 */
export declare function clearSessionState(projectDir: string): void;
//# sourceMappingURL=sessionState.d.ts.map