/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { DialogHTMLAttributes, MouseEvent, PropsWithChildren, ReactNode } from 'react'; export type DialogProps = { /** The label for the button that dismisses the dialog. */ readonly closeButtonLabel?: string; /** Content for the footer, often one Button or an Action Group containing more of them. */ readonly footer?: ReactNode; /** The text for the Heading. */ readonly heading: string; } & Readonly>>; /** * A small window over the page that asks the user to confirm an action, answer a short question, or acknowledge a brief message. * * @see {@link https://designsystem.amsterdam/?path=/docs/components-containers-dialog--docs Dialog docs at Amsterdam Design System} */ export declare const Dialog: import("react").ForwardRefExoticComponent<{ /** The label for the button that dismisses the dialog. */ readonly closeButtonLabel?: string; /** Content for the footer, often one Button or an Action Group containing more of them. */ readonly footer?: ReactNode; /** The text for the Heading. */ readonly heading: string; } & Readonly>> & import("react").RefAttributes> & { close: (event: MouseEvent) => void | undefined; open: (id: string) => void; };