/**
 * Typed error classes for the governance layer.
 *
 * New errors are added here rather than inline in modules so they can be caught
 * by name across the codebase without circular imports.
 *
 * @connexum/ai-governance  feat/capability-licensing-pr-a-publish-validator
 */
export interface UnlicensedCapabilityErrorContext {
    /** The CapabilityRule id (or positional index) that triggered the error. */
    ruleId?: string;
    /** The capability string that is not licensed. */
    capability: string;
    /** The vertical pack ID that owns this capability. */
    packId: string;
    /** Human-readable pack name for upsell messages. */
    packName: string;
}
/**
 * Thrown by buildCompanyPack() when a proposed rule references a capability
 * that belongs to a vertical pack the organisation has not licensed.
 *
 * Callers (e.g. the onboarding route) should map this to a 422 response with
 * the structured error body defined in the spec.
 */
export declare class UnlicensedCapabilityError extends Error {
    readonly ruleId: string | undefined;
    readonly capability: string;
    readonly packId: string;
    readonly packName: string;
    constructor(ctx: UnlicensedCapabilityErrorContext);
}
//# sourceMappingURL=errors.d.ts.map