/**
 * Session enforcement - require active sessions for write operations.
 *
 * Part of the Epic-Bound Session architecture. Enforces that write operations
 * (add, update, complete) require an active session.
 *
 * @task T4454
 * @epic T4454
 */
/** Enforcement modes. */
export type EnforcementMode = 'strict' | 'warn' | 'none';
/** Get the current enforcement mode. */
export declare function getEnforcementMode(cwd?: string): EnforcementMode;
/** Check if session enforcement is enabled. */
export declare function isSessionEnforcementEnabled(cwd?: string): boolean;
/** Session info for enforcement checks. */
export interface ActiveSessionInfo {
    id: string;
    name: string;
    scope: {
        type: string;
        epicId?: string;
    };
}
/** Get active session info. Returns null if no active session. */
export declare function getActiveSessionInfo(cwd?: string): Promise<ActiveSessionInfo | null>;
/** Enforcement result. */
export interface EnforcementResult {
    allowed: boolean;
    mode: EnforcementMode;
    session: ActiveSessionInfo | null;
    warning?: string;
}
/**
 * Require an active session for write operations.
 * In strict mode, throws if no session is active.
 * In warn mode, returns a warning but allows the operation.
 * In none mode, always allows.
 */
export declare function requireActiveSession(operation: string, cwd?: string): Promise<EnforcementResult>;
/**
 * Validate that a task is within the current session's scope.
 * Only enforced when a session is active.
 */
export declare function validateTaskInScope(taskId: string, taskEpicId?: string, cwd?: string): Promise<{
    inScope: boolean;
    warning?: string;
}>;
//# sourceMappingURL=session-enforcement.d.ts.map