export type RioCookieConsentStatus = 'missing' | 'invalid' | 'ux-cookies-accepted' | 'marketing-cookies-accepted' | 'custom';
export type RioCookieConsentInfo = {
    /**
     * Name of the RIO consent cookie.
     */
    cookieName: 'cookie_settings';
    /**
     * Indicates whether the consent cookie exists.
     */
    isSet: boolean;
    /**
     * Raw cookie value as read from `document.cookie`.
     */
    rawValue?: string;
    /**
     * Parsed and normalized cookie switches when JSON parsing succeeds.
     */
    parsedValue?: Record<string, number>;
    /**
     * True when UX cookies are accepted (`switch-49 === 1`).
     */
    uxCookiesAccepted: boolean;
    /**
     * True when marketing cookies are accepted (`switch-2 === 1`).
     */
    marketingCookiesAccepted: boolean;
    /**
     * Computed consent status derived from parsed cookie values.
     */
    status: RioCookieConsentStatus;
};
export type UseRioCookieConsentResult = {
    /**
     * Reads and parses the RIO cookie consent settings.
     */
    getRioCookieConsentInfo: () => RioCookieConsentInfo;
};
/**
 * Returns helpers for reading RIO's cookie consent state from `cookie_settings`.
 *
 * @returns {UseRioCookieConsentResult} Cookie consent helper functions.
 *
 * @example
 * const { getRioCookieConsentInfo } = useRioCookieConsent();
 * const consent = getRioCookieConsentInfo();
 * const uxAccepted = consent.uxCookiesAccepted;
 */
declare const useRioCookieConsent: () => UseRioCookieConsentResult;
export default useRioCookieConsent;
