import type { ComponentProps } from 'react'; import { Modal } from '../Modal'; import { DialogButton } from './components/Button'; import { DialogButtons } from './components/Buttons'; import { DialogCancelButton } from './components/CancelButton'; import { DialogStack } from './components/Stack'; import { DialogText } from './components/Text'; import type { DialogSentiment } from './constants'; import { useDialogContext } from './Context'; type DialogProps = Pick, 'ariaLabel' | 'children' | 'className' | 'data-testid' | 'disclosure' | 'hideOnClickOutside' | 'hideOnEsc' | 'id' | 'isClosable' | 'onBeforeClose' | 'onClose' | 'open' | 'placement' | 'style'> & { title: string; sentiment: DialogSentiment; }; export declare function BaseDialog({ ariaLabel, className, children, 'data-testid': dataTestId, disclosure, hideOnClickOutside, hideOnEsc, id, isClosable, onBeforeClose, onClose, open, placement, sentiment, title, style, }: DialogProps): import("react").JSX.Element; export declare namespace BaseDialog { var displayName: string; } /** * The Dialog component is used to show content on top of an overlay that requires user interaction. */ export declare const Dialog: typeof BaseDialog & { Button: typeof DialogButton; Buttons: typeof DialogButtons; CancelButton: typeof DialogCancelButton; Stack: typeof DialogStack; Text: typeof DialogText; useDialogContext: typeof useDialogContext; }; export {}; //# sourceMappingURL=index.d.ts.map