import { type ReactElement } from "react";
import type { Callback } from "../../util/function.js";
import type { ButtonVariants } from "../form/Button.js";
import type { OptionalChildProps } from "../util/props.js";
export interface DialogProps extends OptionalChildProps {
    onClose?: Callback;
}
export declare const Dialog: import("react").MemoExoticComponent<({ children, onClose, ...props }: DialogProps) => import("react/jsx-runtime").JSX.Element>;
export interface DialogCloseButtonProps extends ButtonVariants, OptionalChildProps {
}
/** Button that closes its wrapping dialog with an X icon. */
export declare function DialogCloseButton({ children, ...variants }: DialogCloseButtonProps): ReactElement;
