import * as React from 'react'; interface DialogOptions { initialOpen?: boolean; open?: boolean; onOpenChange?: (open: boolean) => void; } export declare function useDialog({ initialOpen, open: controlledOpen, onOpenChange: setControlledOpen, }?: DialogOptions): { labelId: string | undefined; descriptionId: string | undefined; setLabelId: React.Dispatch>; setDescriptionId: React.Dispatch>; placement: import('@floating-ui/utils').Placement; strategy: import('@floating-ui/utils').Strategy; middlewareData: import('@floating-ui/core').MiddlewareData; x: number; y: number; isPositioned: boolean; update: () => void; floatingStyles: React.CSSProperties; refs: { reference: React.MutableRefObject; floating: React.MutableRefObject; setReference: (node: import('@floating-ui/react-dom').ReferenceType | null) => void; setFloating: (node: HTMLElement | null) => void; } & import('@floating-ui/react').ExtendedRefs; elements: { reference: import('@floating-ui/react-dom').ReferenceType | null; floating: HTMLElement | null; } & import('@floating-ui/react').ExtendedElements; context: { x: number; y: number; placement: import('@floating-ui/utils').Placement; strategy: import('@floating-ui/utils').Strategy; middlewareData: import('@floating-ui/core').MiddlewareData; isPositioned: boolean; update: () => void; floatingStyles: React.CSSProperties; open: boolean; onOpenChange: (open: boolean, event?: Event | undefined, reason?: import('@floating-ui/react').OpenChangeReason | undefined) => void; events: import('@floating-ui/react').FloatingEvents; dataRef: React.MutableRefObject; nodeId: string | undefined; floatingId: string; refs: import('@floating-ui/react').ExtendedRefs; elements: import('@floating-ui/react').ExtendedElements; }; getReferenceProps: (userProps?: React.HTMLProps | undefined) => Record; getFloatingProps: (userProps?: React.HTMLProps | undefined) => Record; getItemProps: (userProps?: (Omit, "active" | "selected"> & { active?: boolean | undefined; selected?: boolean | undefined; }) | undefined) => Record; open: boolean; setOpen: (open: boolean) => void; }; export declare const useDialogContext: () => { labelId: string | undefined; descriptionId: string | undefined; setLabelId: React.Dispatch>; setDescriptionId: React.Dispatch>; placement: import('@floating-ui/utils').Placement; strategy: import('@floating-ui/utils').Strategy; middlewareData: import('@floating-ui/core').MiddlewareData; x: number; y: number; isPositioned: boolean; update: () => void; floatingStyles: React.CSSProperties; refs: { reference: React.MutableRefObject; floating: React.MutableRefObject; setReference: (node: import('@floating-ui/react-dom').ReferenceType | null) => void; setFloating: (node: HTMLElement | null) => void; } & import('@floating-ui/react').ExtendedRefs; elements: { reference: import('@floating-ui/react-dom').ReferenceType | null; floating: HTMLElement | null; } & import('@floating-ui/react').ExtendedElements; context: { x: number; y: number; placement: import('@floating-ui/utils').Placement; strategy: import('@floating-ui/utils').Strategy; middlewareData: import('@floating-ui/core').MiddlewareData; isPositioned: boolean; update: () => void; floatingStyles: React.CSSProperties; open: boolean; onOpenChange: (open: boolean, event?: Event | undefined, reason?: import('@floating-ui/react').OpenChangeReason | undefined) => void; events: import('@floating-ui/react').FloatingEvents; dataRef: React.MutableRefObject; nodeId: string | undefined; floatingId: string; refs: import('@floating-ui/react').ExtendedRefs; elements: import('@floating-ui/react').ExtendedElements; }; getReferenceProps: (userProps?: React.HTMLProps | undefined) => Record; getFloatingProps: (userProps?: React.HTMLProps | undefined) => Record; getItemProps: (userProps?: (Omit, "active" | "selected"> & { active?: boolean | undefined; selected?: boolean | undefined; }) | undefined) => Record; open: boolean; setOpen: (open: boolean) => void; } & { setLabelId: React.Dispatch>; setDescriptionId: React.Dispatch>; }; export declare function Dialog({ children, ...options }: { children: React.ReactNode; } & DialogOptions): import("react/jsx-runtime").JSX.Element; interface DialogTriggerProps { children: React.ReactNode; asChild?: boolean; } export declare const DialogTrigger: React.ForwardRefExoticComponent & DialogTriggerProps, "ref"> & React.RefAttributes>; export declare const DialogContent: React.ForwardRefExoticComponent & { container?: HTMLElement | null | undefined; }, "ref"> & React.RefAttributes>; export declare const DialogHeading: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; export declare const DialogDescription: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; export declare const DialogClose: React.ForwardRefExoticComponent & React.RefAttributes>; export {};