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 useDialogStyles: () => Record<string, import("../..").SystemStyleObject>;
|
5 | export { useDialogStyles };
|
6 | export interface DialogRootProviderBaseProps extends Assign<ArkDialog.RootProviderProps, SlotRecipeProps<"dialog">>, UnstyledProp {
|
7 | }
|
8 | export interface DialogRootProviderProps extends DialogRootProviderBaseProps {
|
9 | children: React.ReactNode;
|
10 | }
|
11 | export declare const DialogRootProvider: import("react").FC<DialogRootProviderProps>;
|
12 | export interface DialogRootBaseProps extends Assign<ArkDialog.RootProps, SlotRecipeProps<"dialog">>, UnstyledProp {
|
13 | }
|
14 | export interface DialogRootProps extends DialogRootBaseProps {
|
15 | children: React.ReactNode;
|
16 | }
|
17 | export declare const DialogRoot: import("react").FC<DialogRootProps>;
|
18 | export declare const DialogPropsProvider: React.Provider<DialogRootBaseProps>;
|
19 | export interface DialogTriggerProps extends HTMLChakraProps<"button", ArkDialog.TriggerBaseProps> {
|
20 | }
|
21 | export declare const DialogTrigger: import("react").ForwardRefExoticComponent<DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
22 | export interface DialogPositionerProps extends HTMLChakraProps<"div", ArkDialog.PositionerBaseProps> {
|
23 | }
|
24 | export declare const DialogPositioner: import("react").ForwardRefExoticComponent<DialogPositionerProps & import("react").RefAttributes<HTMLDivElement>>;
|
25 | export interface DialogContentProps extends HTMLChakraProps<"section", ArkDialog.ContentBaseProps> {
|
26 | }
|
27 | export declare const DialogContent: import("react").ForwardRefExoticComponent<DialogContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
28 | export interface DialogDescriptionProps extends HTMLChakraProps<"p", ArkDialog.DescriptionBaseProps> {
|
29 | }
|
30 | export declare const DialogDescription: import("react").ForwardRefExoticComponent<DialogDescriptionProps & import("react").RefAttributes<HTMLDivElement>>;
|
31 | export interface DialogTitleProps extends HTMLChakraProps<"h2", ArkDialog.TitleBaseProps> {
|
32 | }
|
33 | export declare const DialogTitle: import("react").ForwardRefExoticComponent<DialogTitleProps & import("react").RefAttributes<HTMLDivElement>>;
|
34 | export interface DialogCloseTriggerProps extends HTMLChakraProps<"button", ArkDialog.CloseTriggerBaseProps> {
|
35 | }
|
36 | export declare const DialogCloseTrigger: import("react").ForwardRefExoticComponent<DialogCloseTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
37 | export interface DialogActionTriggerProps extends HTMLChakraProps<"button"> {
|
38 | }
|
39 | export declare const DialogActionTrigger: import("react").ForwardRefExoticComponent<DialogActionTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
40 | export interface DialogBackdropProps extends HTMLChakraProps<"div", ArkDialog.BackdropBaseProps> {
|
41 | }
|
42 | export declare const DialogBackdrop: import("react").ForwardRefExoticComponent<DialogBackdropProps & import("react").RefAttributes<HTMLDivElement>>;
|
43 | export interface DialogBodyProps extends HTMLChakraProps<"div"> {
|
44 | }
|
45 | export declare const DialogBody: import("react").ForwardRefExoticComponent<DialogBodyProps & import("react").RefAttributes<HTMLDivElement>>;
|
46 | export interface DialogFooterProps extends HTMLChakraProps<"footer"> {
|
47 | }
|
48 | export declare const DialogFooter: import("react").ForwardRefExoticComponent<DialogFooterProps & import("react").RefAttributes<HTMLDivElement>>;
|
49 | export interface DialogHeaderProps extends HTMLChakraProps<"div"> {
|
50 | }
|
51 | export declare const DialogHeader: import("react").ForwardRefExoticComponent<DialogHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
|
52 | export declare const DialogContext: (props: ArkDialog.ContextProps) => import("react").ReactNode;
|
53 | export interface DialogOpenChangeDetails extends ArkDialog.OpenChangeDetails {
|
54 | }
|