import { ComponentProps, FC, HTMLAttributes, ReactNode } from 'react'; import { StandardProps } from '@react-foundry/component-helpers'; import { WidthContainer } from '@not-govuk/width-container'; import '../assets/CookieBanner.scss'; export type Message = Omit, 'children' | 'classBlock' | 'className' | 'classModifiers' | 'maxContentsWidth'> & { /** Heading for the message */ heading?: ReactNode; /** Content of the message */ content: ReactNode; /** Actions that can be taken in reponse to the message, typically buttons or links */ actions?: ReactNode; }; export type CookieBannerProps = StandardProps & HTMLAttributes & { /** Maximum width of the contents in px units (-1 for full width) */ maxContentsWidth?: number; /** List of messages to display */ messages: Message[]; }; export declare const CookieBanner: FC; export default CookieBanner;