import { ComponentProps, ExcludedProps, VariantProps } from "@vitality-ds/system"; import { StackProps } from "../Stack/types"; import { BaseSwitch } from "./styled"; declare type SwitchVariants = VariantProps; export declare type SwitchProps = ExcludedProps & ComponentProps & SwitchVariants & { /** * The state of the switch when it is initially rendered. Use when you do not need to control its state. */ defaultChecked: boolean; /** * The controlled state of the switch. Must be used in conjunction with onCheckedChange. */ checked: boolean; /** * Event handler called when the state of the switch changes. */ onCheckedChange: (checked: boolean) => void; /** * When `true`, prevents the user from interacting with the switch. */ disabled: boolean; /** * The name of the switch. Submitted with its owning form as part of a name/value pair. */ name: string; /** * The value given as data when submitted with a name. * @default "on" */ value: string; /** * Position of the accompanying label */ labelPosition?: "top" | "bottom" | "left" | "right"; /** * THe label included with a switch */ label?: string; }; export declare type LabelDirectionsType = Record; export {};