export type RegistrationGateArea = "trainee" | "structure";
export type RegistrationGateSnapshot = {
    canRegister: boolean;
    canMutateStructure: boolean;
    blockedBy: "project" | "provider" | null;
    message: string | null;
    structureMessage: string | null;
    project: {
        isClosed: boolean;
        note: string | null;
        closedAt: string | null;
    };
    provider: {
        id: string;
        name: string;
        isClosed: boolean;
        note: string | null;
        closedAt: string | null;
    } | null;
};
/** Global project gate must be open; then optional per-provider gate applies. */
export declare function assertRegistrationOpen(projectId: bigint, trainingProviderId?: bigint | null, area?: RegistrationGateArea): Promise<void>;
export declare function getRegistrationGateSnapshot(projectId: bigint, trainingProviderId?: bigint | null): Promise<RegistrationGateSnapshot>;
//# sourceMappingURL=registrationGate.d.ts.map