import type { DialogContextType, IDialogProps, IDialogTriggerProps, IDialogPortalProps, IDialogBackdropProps, IDialogPopupProps, IDialogCloseProps, IDialogHeaderProps, IDialogFooterProps, IDialogTitleProps, IDialogDescriptionProps } from './Dialog.types'; declare const useDialog: () => DialogContextType; /** * Root Dialog component. * Manages controlled/uncontrolled open state and provides context to children. * * @param props - Dialog root props including `open`, `defaultOpen`, and `onOpenChange` * * @example * ```tsx * * {children} * * ``` */ declare function Dialog(props: IDialogProps): import("react/jsx-runtime").JSX.Element; /** * Trigger element that opens the dialog on interaction. * * @param props - Trigger props forwarded to Base UI Dialog.Trigger * * @example * ```tsx * * * * ``` */ declare function DialogTrigger({ slots, className, ...props }: IDialogTriggerProps): import("react/jsx-runtime").JSX.Element; /** * Portal wrapper with AnimatePresence for coordinated enter/exit animations. * Internally sets `keepMounted` so motion exit animations play correctly. * * @param props - Portal props (without keepMounted) * * @example * ```tsx * * * ... * * ``` */ declare function DialogPortal({ slots: _slots, ...props }: IDialogPortalProps): import("react/jsx-runtime").JSX.Element; /** * Animated overlay backdrop behind the dialog popup. * Uses a blur + fade entrance/exit animation via Motion. * * @param props - Backdrop props including motion transition overrides * * @example * ```tsx * * ``` */ declare function DialogBackdrop({ slots, className, transition, ...props }: IDialogBackdropProps): import("react/jsx-runtime").JSX.Element; /** * Main dialog content container with a perspective-flip entrance animation. * The `from` prop controls the axis and direction of the 3D rotation. * * Internally wraps content in `Dialog.Viewport` as required by Base UI v1.x. * * @param props - Popup props including `from` direction and motion transition overrides * * @example * ```tsx * * * * Confirm *

Are you sure?

*
*
* ``` */ declare function DialogPopup({ from, initialFocus, finalFocus, slots, className, transition, ...props }: IDialogPopupProps): import("react/jsx-runtime").JSX.Element; /** * Button that closes the dialog when clicked. * * @param props - Close button props forwarded to Base UI Dialog.Close * * @example * ```tsx * * * * ``` */ declare function DialogClose({ slots, className, ...props }: IDialogCloseProps): import("react/jsx-runtime").JSX.Element; /** * Layout wrapper for the dialog header region (title + description). * * @param props - Standard div props with optional slot overrides * * @example * ```tsx * * Settings * Configure your preferences. * * ``` */ declare function DialogHeader({ slots, className, ...props }: IDialogHeaderProps): import("react/jsx-runtime").JSX.Element; /** * Layout wrapper for the dialog footer region (action buttons). * * @param props - Standard div props with optional slot overrides * * @example * ```tsx * * * * * ``` */ declare function DialogFooter({ slots, className, ...props }: IDialogFooterProps): import("react/jsx-runtime").JSX.Element; /** * Accessible title for the dialog. Rendered as a heading element. * * @param props - Title props forwarded to Base UI Dialog.Title * * @example * ```tsx * Delete Workspace * ``` */ declare function DialogTitle({ slots, className, ...props }: IDialogTitleProps): import("react/jsx-runtime").JSX.Element; /** * Accessible description for the dialog. Provides supplementary context. * * @param props - Description props forwarded to Base UI Dialog.Description * * @example * ```tsx * This will permanently remove the workspace. * ``` */ declare function DialogDescription({ slots, className, ...props }: IDialogDescriptionProps): import("react/jsx-runtime").JSX.Element; export { Dialog, DialogPortal, DialogBackdrop, DialogClose, DialogTrigger, DialogPopup, DialogHeader, DialogFooter, DialogTitle, DialogDescription, useDialog, }; export type { IDialogProps, IDialogTriggerProps, IDialogPortalProps, IDialogCloseProps, IDialogBackdropProps, IDialogPopupProps, IDialogHeaderProps, IDialogFooterProps, IDialogTitleProps, IDialogDescriptionProps, DialogContextType, DialogFlipDirection, DialogSlot, IDialogConfig, } from './Dialog.types'; export { dialogStyles } from './Dialog.styles'; //# sourceMappingURL=index.d.ts.map