/** * useConsent - Hook for managing user consent (v2.0) * Updated for new consent modes: cookieless, gdpr-strict, gdpr-opt-out */ import type { ConsentState, ConsentMode } from '../../consent'; export declare function useConsent(): { consentState: ConsentState; grantConsent: (categories?: string[]) => void; revokeConsent: (categories?: string[]) => void; hasConsent: (category?: string) => boolean; isGranted: boolean; categories: string[]; }; /** * useConsentMode - Hook to get current consent mode * v2.0: Returns 'cookieless' | 'gdpr-strict' | 'gdpr-opt-out' */ export declare function useConsentMode(): ConsentMode | null; /** * useTrackingId - Hook to get current tracking ID * v2.0: Returns daily rotating ID or permanent ID based on consent */ export declare function useTrackingId(): string | null; /** * useCanTrack - Hook to check if tracking is allowed * v2.0: Always returns true (even cookieless mode allows basic tracking) */ export declare function useCanTrack(): boolean; //# sourceMappingURL=useConsent.d.ts.map