import { BoxedButtonProps } from "../../actions/buttons/ButtonBase.js"; import * as React from "react"; import { DialogSize } from "./modal.css.js"; interface Action extends BoxedButtonProps<"button"> { label: string; } export interface ModalProps { /** Content within the modal dialog. */ children: React.ReactNode; /** True if modal is open, false otherwise. */ isOpen: boolean; /** Function for closing modal. */ handleClose: () => void; /** Headline of the modal. */ title?: string; /** Choose between small, medium, large and fullsize modal. On smaller screensizes max-width will be 95vw. */ size?: DialogSize; /** Primary action offers standard button props, including label for button content. */ primaryAction?: Action; /** Secondary action offers standard button props, except loading, and including label for button content. */ secondaryAction?: Omit; /** Any action component. */ action?: React.ReactNode; /** Background color of the modal. */ backgroundColor?: string; } export declare const Modal: React.ForwardRefExoticComponent>; export {}; //# sourceMappingURL=Modal.d.ts.map