export type PricingTablePayload = {
    pricing_table_id?: string;
    publishable_key?: string;
    client_reference_id?: string;
};
type Local402Data = {
    error?: string;
    message?: string;
    pricing_table?: PricingTablePayload;
};
interface Use402ErrorCheckProps {
    /**
     * Called when an admin hits a 402. Hosts wire this to whatever navigation
     * primitive they use (Next router push, history.pushState, custom event, etc.)
     * to surface the billing tab.
     */
    navigateToAdminBilling: () => void;
}
export declare const use402ErrorCheck: ({ navigateToAdminBilling, }: Use402ErrorCheckProps) => {
    handle402Error: (messageData: Local402Data) => Promise<void>;
};
export {};
