export type OverlayProps = { /** * The content of the overlay. **/ children: React.ReactNode; /** * Footer element to be rendered at the bottom of the overlay. **/ footer?: React.ReactNode; /** * Set a gray background color */ backgroundColor?: "light"; /** * Class name for the overlay container */ contentClassName?: string; /** * Style object for the overlay container */ contentStyle?: React.CSSProperties; } & ({ /** * Set the overlay to full width * @default false */ fullWidth?: boolean; drawer?: never; onBackdropClick?: never; } | { /** * Set the overlay to be displayed as a drawer on the right side of the screen. * @default false */ drawer: true; /** * Callback function to be called when the backdrop is clicked. * This is useful for closing the overlay when clicking outside of it. */ onBackdropClick: () => void; fullWidth?: never; }); export declare const Overlay: React.FC;