import { Close as DialogClose, Content as DialogContent, Description as DialogDescription, Overlay as DialogOverlay, Portal as DialogPortal, Title as DialogTitle, Trigger as DialogTrigger } from "@loke/ui/dialog"; import { Primitive } from "@loke/ui/primitive"; import { type ComponentPropsWithoutRef, type FC, type ReactNode } from "react"; type DrawerDirection = "top" | "right" | "bottom" | "left"; declare const createDrawerScope: import("@loke/ui/context").CreateScope; interface DrawerProps { activeSnapPoint?: number | string | null; children?: ReactNode; defaultOpen?: boolean; /** @default "bottom" */ direction?: DrawerDirection; /** Whether clicking outside or dragging past threshold dismisses the drawer. @default true */ dismissible?: boolean; /** Index of the snap point from which the overlay starts fading. */ fadeFromIndex?: number; /** Only allow dragging via the DrawerHandle, not the full content area. @default false */ handleOnly?: boolean; /** @default true */ modal?: boolean; /** Mark this drawer as nested inside another drawer. @default false */ nested?: boolean; /** Prevent body style changes on open. @default false */ noBodyStyles?: boolean; onOpenChange?: (open: boolean) => void; open?: boolean; setActiveSnapPoint?: (snapPoint: number | string | null) => void; /** Apply CSS scale transform to a [data-loke-drawer-wrapper] element when open. @default false */ shouldScaleBackground?: boolean; /** Snap point values: fractions (0-1), pixel strings ("200px"), or percentages ("50%"). */ snapPoints?: (number | string)[]; } declare const Drawer: FC; type DialogTriggerProps = ComponentPropsWithoutRef; interface DrawerTriggerProps extends DialogTriggerProps { } declare const DrawerTrigger: import("react").ForwardRefExoticComponent>; type DialogPortalProps = ComponentPropsWithoutRef; interface DrawerPortalProps extends DialogPortalProps { } declare const DrawerPortal: FC; type DialogOverlayProps = ComponentPropsWithoutRef; interface DrawerOverlayProps extends DialogOverlayProps { } declare const DrawerOverlay: import("react").ForwardRefExoticComponent>; type DialogContentProps = ComponentPropsWithoutRef; interface DrawerContentProps extends DialogContentProps { /** Override the root-level dismissible setting for this content. */ dismissible?: boolean; } declare const DrawerContent: import("react").ForwardRefExoticComponent>; type PrimitiveDivProps = ComponentPropsWithoutRef; interface DrawerHandleProps extends PrimitiveDivProps { } declare const DrawerHandle: import("react").ForwardRefExoticComponent>; type DialogTitleProps = ComponentPropsWithoutRef; interface DrawerTitleProps extends DialogTitleProps { } declare const DrawerTitle: import("react").ForwardRefExoticComponent>; type DialogDescriptionProps = ComponentPropsWithoutRef; interface DrawerDescriptionProps extends DialogDescriptionProps { } declare const DrawerDescription: import("react").ForwardRefExoticComponent>; type DialogCloseProps = ComponentPropsWithoutRef; interface DrawerCloseProps extends DialogCloseProps { } declare const DrawerClose: import("react").ForwardRefExoticComponent>; interface DrawerNestedRootProps extends DrawerProps { } declare const DrawerNestedRoot: FC; declare const Root: FC; declare const Trigger: import("react").ForwardRefExoticComponent>; declare const Portal: FC; declare const Overlay: import("react").ForwardRefExoticComponent>; declare const Content: import("react").ForwardRefExoticComponent>; declare const Handle: import("react").ForwardRefExoticComponent>; declare const Title: import("react").ForwardRefExoticComponent>; declare const Description: import("react").ForwardRefExoticComponent>; declare const Close: import("react").ForwardRefExoticComponent>; declare const NestedRoot: FC; export type { DrawerCloseProps, DrawerContentProps, DrawerDescriptionProps, DrawerHandleProps, DrawerNestedRootProps, DrawerOverlayProps, DrawerPortalProps, DrawerProps, DrawerTitleProps, DrawerTriggerProps, }; export { Close, Content, createDrawerScope, Description, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerHandle, DrawerNestedRoot, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Handle, NestedRoot, Overlay, Portal, Root, Title, Trigger, };