/** * @packageDocumentation * Provides the context for sharing consent management state across components. */ import type { ConsentManagerInterface, ConsentStoreState } from 'c15t'; /** * The context value provided by ConsentManagerProvider. */ export interface ConsentStateContextValue { /** * Current consent management state */ state: ConsentStoreState; /** * Reference to the consent manager store instance * We use object type to avoid circular dependencies */ store: { getState: () => ConsentStoreState; subscribe: (listener: (state: ConsentStoreState) => void) => () => void; setState: (state: Partial) => void; }; /** * Optional API client instance */ manager: ConsentManagerInterface | null; } /** * Context for sharing consent management state across components. */ export declare const ConsentStateContext: import("react").Context;