1 | import type { Assign } from "@ark-ui/react";
|
2 | import { Editable as ArkEditable } from "@ark-ui/react/editable";
|
3 | import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
|
4 | declare const useEditableStyles: () => Record<string, import("../..").SystemStyleObject>;
|
5 | export { useEditableStyles };
|
6 | export interface EditableRootProviderBaseProps extends Assign<ArkEditable.RootProviderBaseProps, SlotRecipeProps<"editable">>, UnstyledProp {
|
7 | }
|
8 | export interface EditableRootProviderProps extends HTMLChakraProps<"div", EditableRootProviderBaseProps> {
|
9 | }
|
10 | export declare const EditableRootProvider: import("react").ForwardRefExoticComponent<EditableRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;
|
11 | export interface EditableRootBaseProps extends Assign<ArkEditable.RootBaseProps, SlotRecipeProps<"editable">>, UnstyledProp {
|
12 | }
|
13 | export interface EditableRootProps extends HTMLChakraProps<"div", EditableRootBaseProps> {
|
14 | }
|
15 | export declare const EditableRoot: import("react").ForwardRefExoticComponent<EditableRootProps & import("react").RefAttributes<HTMLDivElement>>;
|
16 | export declare const EditablePropsProvider: React.Provider<EditableRootBaseProps>;
|
17 | export interface EditablePreviewProps extends HTMLChakraProps<"span", ArkEditable.PreviewBaseProps> {
|
18 | }
|
19 | export declare const EditablePreview: import("react").ForwardRefExoticComponent<EditablePreviewProps & import("react").RefAttributes<HTMLSpanElement>>;
|
20 | export interface EditableInputProps extends HTMLChakraProps<"input", ArkEditable.InputBaseProps> {
|
21 | }
|
22 | export declare const EditableInput: import("react").ForwardRefExoticComponent<EditableInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
23 | export interface EditableTextareaProps extends HTMLChakraProps<"textarea", ArkEditable.InputBaseProps> {
|
24 | }
|
25 | export declare const EditableTextarea: import("react").ForwardRefExoticComponent<EditableTextareaProps & import("react").RefAttributes<HTMLInputElement>>;
|
26 | export interface EditableControlProps extends HTMLChakraProps<"div", ArkEditable.ControlBaseProps> {
|
27 | }
|
28 | export declare const EditableControl: import("react").ForwardRefExoticComponent<EditableControlProps & import("react").RefAttributes<HTMLDivElement>>;
|
29 | export interface EditableAreaProps extends HTMLChakraProps<"div", ArkEditable.AreaBaseProps> {
|
30 | }
|
31 | export declare const EditableArea: import("react").ForwardRefExoticComponent<EditableAreaProps & import("react").RefAttributes<HTMLDivElement>>;
|
32 | export interface EditableEditTriggerProps extends HTMLChakraProps<"button", ArkEditable.EditTriggerBaseProps> {
|
33 | }
|
34 | export declare const EditableEditTrigger: import("react").ForwardRefExoticComponent<EditableEditTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
35 | export interface EditableSubmitTriggerProps extends HTMLChakraProps<"button", ArkEditable.SubmitTriggerBaseProps> {
|
36 | }
|
37 | export declare const EditableSubmitTrigger: import("react").ForwardRefExoticComponent<EditableSubmitTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
38 | export interface EditableCancelTriggerProps extends HTMLChakraProps<"button", ArkEditable.CancelTriggerBaseProps> {
|
39 | }
|
40 | export declare const EditableCancelTrigger: import("react").ForwardRefExoticComponent<EditableCancelTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
41 | export declare const EditableContext: (props: ArkEditable.ContextProps) => import("react").ReactNode;
|
42 | export interface EditableValueChangeDetails extends ArkEditable.ValueChangeDetails {
|
43 | }
|