import { Dialog as Primitive } from "@base-ui/react/dialog"; import { type StateClassName } from "./class-name.ts"; export declare const Dialog: (props: Primitive.Root.Props) => React.JSX.Element; export declare const DialogTrigger: Primitive.Trigger; export declare const DialogTitle: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; export declare const DialogDescription: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; export declare const DialogClose: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; export declare const DialogPortal: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; export declare const DialogBackdrop: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; export declare const DialogPopup: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; export type DialogContentProps = Primitive.Popup.Props & { /** * Accessible name, for a dialog with no visible `DialogTitle`. With a title, leave this * out: Base UI points the popup's `aria-labelledby` at it, and an `aria-label` here would * override the words the user can actually see. */ label?: string; /** * Label for the built-in close button. REQUIRED to render the button: passing the label is the * only way to render the button, so an unlabelled close button cannot be written. There is no * default string, because a default would be English. */ closeLabel?: string; backdropClassName?: StateClassName; /** Where the portal mounts. Defaults to ``. */ container?: Primitive.Portal.Props["container"]; }; /** * Portal + backdrop + popup as one part, so a scrimless dialog is not a thing a caller can * ship by forgetting a line. The popup owns the scroll (`overflow-y-auto` plus * `overscroll-contain`, so reaching the end of a long dialog does not start scrolling the * page behind it) and is capped to the viewport, so a tall dialog is never taller than the * screen it opens on. * * Padding, radius, shadow and type all belong to the product. What is here is what makes the * primitive work. */ export declare function DialogContent({ className, backdropClassName, container, label, closeLabel, children, ...rest }: DialogContentProps): import("react").JSX.Element; //# sourceMappingURL=dialog.d.ts.map