/** * @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. */ closeButtonLabel?: string; /** Content for the footer, often one Button or an Action Group containing more of them. */ footer?: ReactNode; /** The text for the Heading. */ heading: string; } & PropsWithChildren>; /** * @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. */ closeButtonLabel?: string; /** Content for the footer, often one Button or an Action Group containing more of them. */ footer?: ReactNode; /** The text for the Heading. */ heading: string; } & DialogHTMLAttributes & { children?: ReactNode | undefined; } & import("react").RefAttributes> & { close: (event: MouseEvent) => void | undefined; open: (id: string) => void; };