1 | import type { Assign } from "@ark-ui/react";
|
2 | import { Toggle as ArkToggle } from "@ark-ui/react/toggle";
|
3 | import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
|
4 | declare const useToggleStyles: () => Record<string, import("../..").SystemStyleObject>;
|
5 | export { useToggleStyles };
|
6 | export interface ToggleRootProviderBaseProps extends Assign<ArkToggle.RootBaseProps, SlotRecipeProps<"toggle">>, UnstyledProp {
|
7 | }
|
8 | export interface ToggleRootProviderProps extends HTMLChakraProps<"button", ToggleRootProviderBaseProps> {
|
9 | }
|
10 | export declare const ToggleRootProvider: import("react").ForwardRefExoticComponent<ToggleRootProviderProps & import("react").RefAttributes<HTMLButtonElement>>;
|
11 | export interface ToggleRootBaseProps extends Assign<ArkToggle.RootBaseProps, SlotRecipeProps<"toggle">>, UnstyledProp {
|
12 | }
|
13 | export interface ToggleRootProps extends HTMLChakraProps<"button", ToggleRootBaseProps> {
|
14 | }
|
15 | export declare const ToggleRoot: import("react").ForwardRefExoticComponent<ToggleRootProps & import("react").RefAttributes<HTMLButtonElement>>;
|
16 | export declare const TogglePropsProvider: React.Provider<ToggleRootBaseProps>;
|
17 | export interface ToggleIndicatorProps extends HTMLChakraProps<"div", ArkToggle.IndicatorBaseProps> {
|
18 | }
|
19 | export declare const ToggleIndicator: import("react").ForwardRefExoticComponent<ToggleIndicatorProps & import("react").RefAttributes<HTMLButtonElement>>;
|
20 | export declare const ToggleContext: (props: ArkToggle.ContextProps) => import("react").ReactNode;
|