UNPKG

2.94 kBTypeScriptView Raw
1import type { Assign } from "@ark-ui/react";
2import { Clipboard as ArkClipboard } from "@ark-ui/react/clipboard";
3import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
4declare const useClipboardStyles: () => Record<string, import("../..").SystemStyleObject>;
5export { useClipboardStyles };
6export interface ClipboardRootProviderBaseProps extends Assign<ArkClipboard.RootProviderBaseProps, SlotRecipeProps<"clipboard">>, UnstyledProp {
7}
8export interface ClipboardRootProviderProps extends HTMLChakraProps<"div", ClipboardRootProviderBaseProps> {
9}
10export declare const ClipboardRootProvider: import("react").ForwardRefExoticComponent<ClipboardRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;
11export interface ClipboardRootBaseProps extends Assign<ArkClipboard.RootBaseProps, SlotRecipeProps<"clipboard">>, UnstyledProp {
12}
13export interface ClipboardRootProps extends HTMLChakraProps<"div", ClipboardRootBaseProps> {
14}
15export declare const ClipboardRoot: import("react").ForwardRefExoticComponent<ClipboardRootProps & import("react").RefAttributes<HTMLDivElement>>;
16export declare const ClipboardPropsProvider: React.Provider<ClipboardRootBaseProps>;
17export interface ClipboardTriggerProps extends HTMLChakraProps<"button", ArkClipboard.TriggerProps> {
18}
19export declare const ClipboardTrigger: import("react").ForwardRefExoticComponent<ClipboardTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
20export interface ClipboardControlProps extends HTMLChakraProps<"div", ArkClipboard.ControlProps> {
21}
22export declare const ClipboardControl: import("react").ForwardRefExoticComponent<ClipboardControlProps & import("react").RefAttributes<HTMLDivElement>>;
23export interface ClipboardIndicatorProps extends HTMLChakraProps<"div", ArkClipboard.IndicatorProps> {
24}
25export declare const ClipboardIndicator: import("react").ForwardRefExoticComponent<ClipboardIndicatorProps & import("react").RefAttributes<HTMLDivElement>>;
26export interface ClipboardInputProps extends HTMLChakraProps<"input", ArkClipboard.InputProps> {
27}
28export declare const ClipboardInput: import("react").ForwardRefExoticComponent<ClipboardInputProps & import("react").RefAttributes<HTMLInputElement>>;
29export interface ClipboardLabelProps extends HTMLChakraProps<"label", ArkClipboard.LabelProps> {
30}
31export declare const ClipboardLabel: import("react").ForwardRefExoticComponent<ClipboardLabelProps & import("react").RefAttributes<HTMLLabelElement>>;
32export declare const ClipboardContext: (props: ArkClipboard.ContextProps) => import("react").ReactNode;
33export interface ClipboardCopyStatusDetails extends ArkClipboard.CopyStatusDetails {
34}
35export interface ClipboardValueTextProps extends HTMLChakraProps<"div", ArkClipboard.ValueTextProps> {
36}
37export declare const ClipboardValueText: import("react").ForwardRefExoticComponent<ClipboardValueTextProps & import("react").RefAttributes<HTMLDivElement>>;