import type { NextApiRequest, NextApiResponse } from 'next';
export interface SetCustomClaimsHandlerOptions {
    /** Explicit allowlist of claim keys users may set on themselves. Required. */
    allowedClaimKeys: string[];
}
/**
 * Factory that returns a set-custom-claims handler scoped to allowed keys.
 * Consumers MUST specify which claim keys are self-assignable.
 */
export declare function createSetCustomClaimsHandler(options: SetCustomClaimsHandlerOptions): (req: NextApiRequest, res: NextApiResponse) => Promise<void>;
