1 | import type { Assign } from "@ark-ui/react";
|
2 | import { Switch as ArkSwitch } from "@ark-ui/react/switch";
|
3 | import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
|
4 | declare const useSwitchStyles: () => Record<string, import("../..").SystemStyleObject>;
|
5 | export { useSwitchStyles };
|
6 | export interface SwitchRootProviderBaseProps extends Assign<ArkSwitch.RootProviderBaseProps, SlotRecipeProps<"switch">>, UnstyledProp {
|
7 | }
|
8 | export interface SwitchRootProviderProps extends HTMLChakraProps<"label", SwitchRootProviderBaseProps> {
|
9 | }
|
10 | export declare const SwitchRootProvider: import("react").ForwardRefExoticComponent<SwitchRootProviderProps & import("react").RefAttributes<HTMLLabelElement>>;
|
11 | export interface SwitchRootBaseProps extends Assign<ArkSwitch.RootBaseProps, SlotRecipeProps<"switch">>, UnstyledProp {
|
12 | }
|
13 | export interface SwitchRootProps extends HTMLChakraProps<"label", SwitchRootBaseProps> {
|
14 | }
|
15 | export declare const SwitchRoot: import("react").ForwardRefExoticComponent<SwitchRootProps & import("react").RefAttributes<HTMLLabelElement>>;
|
16 | export declare const SwitchPropsProvider: React.Provider<SwitchRootBaseProps>;
|
17 | export interface SwitchLabelProps extends HTMLChakraProps<"span", ArkSwitch.LabelBaseProps> {
|
18 | }
|
19 | export declare const SwitchLabel: import("react").ForwardRefExoticComponent<SwitchLabelProps & import("react").RefAttributes<HTMLSpanElement>>;
|
20 | export interface SwitchControlProps extends HTMLChakraProps<"span", ArkSwitch.ControlBaseProps> {
|
21 | }
|
22 | export declare const SwitchControl: import("react").ForwardRefExoticComponent<SwitchControlProps & import("react").RefAttributes<HTMLSpanElement>>;
|
23 | export interface SwitchThumbProps extends HTMLChakraProps<"span", ArkSwitch.ThumbBaseProps> {
|
24 | }
|
25 | export declare const SwitchThumb: import("react").ForwardRefExoticComponent<SwitchThumbProps & import("react").RefAttributes<HTMLSpanElement>>;
|
26 | export interface SwitchIndicatorProps extends HTMLChakraProps<"span"> {
|
27 | fallback?: React.ReactNode;
|
28 | }
|
29 | export declare const SwitchIndicator: import("react").ForwardRefExoticComponent<SwitchIndicatorProps & import("react").RefAttributes<HTMLSpanElement>>;
|
30 | export interface SwitchThumbIndicatorProps extends HTMLChakraProps<"span"> {
|
31 | fallback?: React.ReactNode;
|
32 | }
|
33 | export declare const SwitchThumbIndicator: import("react").ForwardRefExoticComponent<SwitchThumbIndicatorProps & import("react").RefAttributes<HTMLSpanElement>>;
|
34 | export declare const SwitchContext: (props: ArkSwitch.ContextProps) => import("react").ReactNode;
|
35 | export declare const SwitchHiddenInput: import("react").ForwardRefExoticComponent<ArkSwitch.HiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
36 | export interface SwitchCheckedChangeDetails extends ArkSwitch.CheckedChangeDetails {
|
37 | }
|