import { ConsentType, ConsentRecord } from '@/types';
export declare function useConsent(): {
    consentRecord: ConsentRecord | null;
    isLoading: boolean;
    showBanner: boolean;
    saveConsent: (consents: Record<ConsentType, boolean>, userId?: string) => ConsentRecord;
    updateConsent: (consents: Record<ConsentType, boolean>, changeReason?: string, userId?: string) => ConsentRecord;
    hasConsent: (type: ConsentType) => boolean;
    openPreferences: () => void;
    closePreferences: () => void;
};
//# sourceMappingURL=useConsent.d.ts.map