/**
 * Nexus Prime — Governance Boundary Enforcement
 *
 * Central module that enforces the separation between governance layers
 * (Synapse, Architects) and execution layers (Phantom, MutationEngine).
 *
 * Rule: Governance layers may coordinate, decompose, and observe — but
 * NEVER directly mutate source code in worktrees. All mutations flow
 * through Phantom's MutationEngine.
 */
export type GovernanceLayer = 'synapse' | 'architects';
export type ExecutionLayer = 'phantom' | 'coordinator' | 'worker' | 'mutation-engine';
export type CallerLayer = GovernanceLayer | ExecutionLayer | 'system';
export interface BoundaryViolation {
    caller: CallerLayer;
    operation: string;
    timestamp: number;
    message: string;
}
/**
 * Assert that a caller is authorized for a given operation.
 * Throws if a governance layer attempts a forbidden operation.
 */
export declare function assertGovernanceBoundary(caller: CallerLayer, operation: string): void;
/**
 * Check whether a caller is a governance layer.
 */
export declare function isGovernanceLayer(caller: string): caller is GovernanceLayer;
/**
 * Check whether an operation is allowed for governance layers.
 */
export declare function isAllowedGovernanceOperation(operation: string): boolean;
/**
 * Get all recorded boundary violations (for dashboard trust surface).
 */
export declare function getBoundaryViolations(): BoundaryViolation[];
/**
 * Clear violations log (after acknowledged by operator).
 */
export declare function clearBoundaryViolations(): void;
