import { type ReactNode } from "react"; import type { JSX } from "@gov-design-system-ce/components"; export type ConsentType = 'accept' | 'reject' | 'custom'; export interface CookieCategory { name: string; label: string; description?: string; required?: boolean; checked?: boolean; } export interface CookiebarConsent { type: ConsentType; categories: Record; timestamp: number; } export type GovCookiebarProps = Pick & { categories?: CookieCategory[] | string; headline?: ReactNode; children?: ReactNode; actionsPrimary?: ReactNode; actionsSecondary?: ReactNode; onConsent?: (detail: { type: ConsentType; categories: Record; }) => void; className?: string; }; export interface GovCookiebarRef { show(): void; getConsent(): CookiebarConsent | null; } export declare const GovCookiebar: import("react").ForwardRefExoticComponent & { categories?: CookieCategory[] | string; headline?: ReactNode; children?: ReactNode; actionsPrimary?: ReactNode; actionsSecondary?: ReactNode; onConsent?: (detail: { type: ConsentType; categories: Record; }) => void; className?: string; } & import("react").RefAttributes>;