import * as React from "react"; import * as SheetPrimitive from "@radix-ui/react-dialog"; import { type VariantProps } from "class-variance-authority"; /** * Sheet component - A modal-like panel that slides in from the edge of the screen. * * @param modal - When `false`, disables body scroll lock and focus trapping. * Use this for apps with contained scrolling (ScrollArea) to prevent layout shift. * Default: `true` * * @example * // Default modal behavior (body scroll locked) * * ... * * * @example * // Non-modal (no body scroll lock - for contained scroll apps) * * ... * */ declare function Sheet({ ...props }: React.ComponentProps): import("react/jsx-runtime").JSX.Element; declare function SheetTrigger({ ...props }: React.ComponentProps): import("react/jsx-runtime").JSX.Element; declare function SheetClose({ ...props }: React.ComponentProps): import("react/jsx-runtime").JSX.Element; declare function SheetPortal({ ...props }: React.ComponentProps): import("react/jsx-runtime").JSX.Element; declare function SheetOverlay({ className, ...props }: React.ComponentProps): import("react/jsx-runtime").JSX.Element; declare const sheetVariants: (props?: ({ side?: "left" | "right" | "bottom" | "top" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; interface SheetContentProps extends React.ComponentProps, VariantProps { /** * Whether to show the close button in the top-right corner. * @default true */ showCloseButton?: boolean; } declare function SheetContent({ side, className, children, showCloseButton, ...props }: SheetContentProps): import("react/jsx-runtime").JSX.Element; declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element; declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element; declare function SheetTitle({ className, ...props }: React.ComponentProps): import("react/jsx-runtime").JSX.Element; declare function SheetDescription({ className, ...props }: React.ComponentProps): import("react/jsx-runtime").JSX.Element; export { Sheet, SheetPortal, SheetOverlay, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, }; //# sourceMappingURL=sheet.d.ts.map