/** * @packageDocumentation * Hook for accessing and managing consent state. */ import type { ConsentManagerInterface, ConsentStoreState } from 'c15t'; /** * Hook for accessing and managing consent state. * * @remarks * This hook provides access to the complete consent management API, including: * - Current consent state (what consents are given/required) * - Methods to update consents * - Compliance settings and region detection * - State persistence and retrieval * - The consent manager (if configured) * * The hook must be used within a ConsentManagerProvider component. * * @throws {Error} * Throws if used outside of a ConsentManagerProvider context. * * @returns Combined state and methods for consent management * @public */ export declare function useConsentManager(): ConsentStoreState & { manager: ConsentManagerInterface | null; };