/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { DialogHTMLAttributes, PropsWithChildren } from 'react'; export type ModalDialogProps = { /** * Whether the Modal Dialog is open, to control it from your application’s state. * Leave undefined to open it imperatively with `ModalDialog.open`. */ readonly open?: boolean; } & Readonly, 'open'>>>; /** * A window that focuses attention on a single task or message, blocking interaction with the underlying page until it is closed. * * @see {@link https://designsystem.amsterdam/?path=/docs/components-containers-modal-dialog--docs Modal Dialog docs at Amsterdam Design System} */ export declare const ModalDialog: import("react").ForwardRefExoticComponent<{ /** * Whether the Modal Dialog is open, to control it from your application’s state. * Leave undefined to open it imperatively with `ModalDialog.open`. */ readonly open?: boolean; } & Readonly, "open">>> & import("react").RefAttributes> & { Body: import("react").ForwardRefExoticComponent>> & import("react").RefAttributes>; close: (event: import("react").MouseEvent) => void | undefined; Footer: import("react").ForwardRefExoticComponent>> & import("react").RefAttributes>; Header: import("react").ForwardRefExoticComponent<{ readonly closeButtonAccessibleName?: string; readonly closeButtonIcon?: import("..").IconProps["svg"]; readonly closeButtonSize?: Extract; } & Readonly>> & import("react").RefAttributes>; open: (selector: string) => void; };