/**
 * Session lifecycle core module.
 *
 * Extracted from hooks/handlers/session-start.ts.
 * Provides reusable session initialization logic for CLI commands.
 *
 * All functions are idempotent and never throw.
 *
 * @module core/session/session-lifecycle
 */
export interface HealthCheckResult {
    baseline: number;
    claudeMdSize: number;
    memoryMdSize: number;
    skillBudget: number;
    systemEstimate: number;
    hookPerTurn: number;
    warningLevel: 'normal' | 'warning' | 'critical';
    checkedAt: string;
}
export interface SessionLifecycleResult {
    staleFilesCleaned: number;
    pressureReset: boolean;
    healthWritten: boolean;
    sessionDirCreated: boolean;
    orphansCleaned: boolean;
}
/**
 * Clear stale auto-mode files older than 24 hours.
 */
export declare function clearStaleAutoFiles(stateDir: string): number;
/**
 * Reset context-pressure.json and prompt-health-alert.json.
 */
export declare function resetPressureFiles(stateDir: string): boolean;
/**
 * Perform baseline prompt health check and write prompt-health.json.
 */
export declare function writeBaselineHealth(projectRoot: string, stateDir: string, timestamp: string): HealthCheckResult | null;
/**
 * Clean orphaned state files (lock files without active sessions).
 */
export declare function cleanOrphaned(stateDir: string): boolean;
//# sourceMappingURL=session-lifecycle.d.ts.map