import * as React from "react"; import { DialogContent } from "./components/DialogContent.js"; import { DialogRoot } from "./components/DialogRoot.js"; interface DialogProps extends React.ComponentPropsWithoutRef, Omit, "title"> { trigger?: React.ReactNode; title?: React.ReactNode; icon?: React.ReactElement; showCloseButton?: boolean; dismissible?: boolean; bodyPadding?: boolean; scrollable?: boolean; description?: React.ReactNode; children: React.ReactNode; actions?: React.ReactNode; info?: React.ReactNode; loading?: boolean | { text?: string; }; overlay?: React.ReactNode; onClose?: () => void; onOpen?: () => void; } declare const Dialog: { (props: DialogProps): React.JSX.Element; displayName: string; } & { original: { (props: DialogProps): React.JSX.Element; displayName: string; }; originalName: string; displayName: string; } & { original: { (props: DialogProps): React.JSX.Element; displayName: string; } & { original: { (props: DialogProps): React.JSX.Element; displayName: string; }; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<{ (props: DialogProps): React.JSX.Element; displayName: string; } & { original: { (props: DialogProps): React.JSX.Element; displayName: string; }; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; } & { ConfirmAction: ((props: import("../index.js").ButtonProps) => React.JSX.Element) & { original: (props: import("../index.js").ButtonProps) => React.JSX.Element; originalName: string; displayName: string; } & { original: ((props: import("../index.js").ButtonProps) => React.JSX.Element) & { original: (props: import("../index.js").ButtonProps) => React.JSX.Element; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<((props: import("../index.js").ButtonProps) => React.JSX.Element) & { original: (props: import("../index.js").ButtonProps) => React.JSX.Element; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; CancelAction: ((props: import("../index.js").ButtonProps) => React.JSX.Element) & { original: (props: import("../index.js").ButtonProps) => React.JSX.Element; originalName: string; displayName: string; } & { original: ((props: import("../index.js").ButtonProps) => React.JSX.Element) & { original: (props: import("../index.js").ButtonProps) => React.JSX.Element; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<((props: import("../index.js").ButtonProps) => React.JSX.Element) & { original: (props: import("../index.js").ButtonProps) => React.JSX.Element; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; Icon: ((props: import("../index.js").IconProps) => React.JSX.Element) & { original: (props: import("../index.js").IconProps) => React.JSX.Element; originalName: string; displayName: string; } & { original: ((props: import("../index.js").IconProps) => React.JSX.Element) & { original: (props: import("../index.js").IconProps) => React.JSX.Element; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<((props: import("../index.js").IconProps) => React.JSX.Element) & { original: (props: import("../index.js").IconProps) => React.JSX.Element; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; Close: React.ForwardRefExoticComponent>; }; export { Dialog, type DialogProps };