1 | import type { Assign } from "@ark-ui/react";
|
2 | import { Dialog as ArkDialog } from "@ark-ui/react/dialog";
|
3 | import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
|
4 | declare const useDrawerStyles: () => Record<string, import("../..").SystemStyleObject>;
|
5 | export { useDrawerStyles };
|
6 | export interface DrawerRootProviderBaseProps extends Assign<ArkDialog.RootProviderBaseProps, SlotRecipeProps<"drawer">>, UnstyledProp {
|
7 | }
|
8 | export interface DrawerRootProviderProps extends DrawerRootProviderBaseProps {
|
9 | children: React.ReactNode;
|
10 | }
|
11 | export declare const DrawerRootProvider: import("react").FC<DrawerRootProviderProps>;
|
12 | export interface DrawerRootBaseProps extends Assign<ArkDialog.RootBaseProps, SlotRecipeProps<"drawer">>, UnstyledProp {
|
13 | }
|
14 | export interface DrawerRootProps extends DrawerRootBaseProps {
|
15 | children: React.ReactNode;
|
16 | }
|
17 | export declare const DrawerRoot: import("react").FC<DrawerRootProps>;
|
18 | export declare const DrawerRootPropsProvider: React.Provider<DrawerRootBaseProps>;
|
19 | export interface DrawerTriggerProps extends HTMLChakraProps<"button", ArkDialog.TriggerBaseProps> {
|
20 | }
|
21 | export declare const DrawerTrigger: import("react").ForwardRefExoticComponent<DrawerTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
22 | export interface DrawerPositionerProps extends HTMLChakraProps<"div", ArkDialog.PositionerBaseProps> {
|
23 | }
|
24 | export declare const DrawerPositioner: import("react").ForwardRefExoticComponent<DrawerPositionerProps & import("react").RefAttributes<HTMLDivElement>>;
|
25 | export interface DrawerContentProps extends HTMLChakraProps<"section", ArkDialog.ContentBaseProps> {
|
26 | }
|
27 | export declare const DrawerContent: import("react").ForwardRefExoticComponent<DrawerContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
28 | export interface DrawerDescriptionProps extends HTMLChakraProps<"p", ArkDialog.DescriptionBaseProps> {
|
29 | }
|
30 | export declare const DrawerDescription: import("react").ForwardRefExoticComponent<DrawerDescriptionProps & import("react").RefAttributes<HTMLDivElement>>;
|
31 | export interface DrawerTitleProps extends HTMLChakraProps<"h2", ArkDialog.TitleBaseProps> {
|
32 | }
|
33 | export declare const DrawerTitle: import("react").ForwardRefExoticComponent<DrawerTitleProps & import("react").RefAttributes<HTMLDivElement>>;
|
34 | export interface DrawerCloseTriggerProps extends HTMLChakraProps<"button", ArkDialog.CloseTriggerBaseProps> {
|
35 | }
|
36 | export declare const DrawerCloseTrigger: import("react").ForwardRefExoticComponent<DrawerCloseTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
37 | export interface DrawerActionTriggerProps extends HTMLChakraProps<"button"> {
|
38 | }
|
39 | export declare const DrawerActionTrigger: import("react").ForwardRefExoticComponent<DrawerActionTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
40 | export interface DrawerBackdropProps extends HTMLChakraProps<"div", ArkDialog.BackdropBaseProps> {
|
41 | }
|
42 | export declare const DrawerBackdrop: import("react").ForwardRefExoticComponent<DrawerBackdropProps & import("react").RefAttributes<HTMLDivElement>>;
|
43 | export interface DrawerBodyProps extends HTMLChakraProps<"div"> {
|
44 | }
|
45 | export declare const DrawerBody: import("react").ForwardRefExoticComponent<DrawerBodyProps & import("react").RefAttributes<HTMLDivElement>>;
|
46 | export interface DrawerFooterProps extends HTMLChakraProps<"footer"> {
|
47 | }
|
48 | export declare const DrawerFooter: import("react").ForwardRefExoticComponent<DrawerFooterProps & import("react").RefAttributes<HTMLDivElement>>;
|
49 | export interface DrawerHeaderProps extends HTMLChakraProps<"div"> {
|
50 | }
|
51 | export declare const DrawerHeader: import("react").ForwardRefExoticComponent<DrawerHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
|
52 | export declare const DrawerContext: (props: ArkDialog.ContextProps) => import("react").ReactNode;
|
53 | export interface DrawerOpenChangeDetails extends ArkDialog.OpenChangeDetails {
|
54 | }
|