import { ReactNode } from 'react'; import { ComponentWithAs as _, SystemStyleObject } from '@chakra-ui/react'; import { SwitchProps } from '../Switch'; export interface ToggleProps extends SwitchProps { /** * Main label of the toggle */ label: string; /** * Secondary description text */ description?: ReactNode; /** * Overriding styles for the container which wraps the text * as well as the switch */ containerStyles?: SystemStyleObject; /** * Overriding styles for the main label */ labelStyles?: SystemStyleObject; /** * Overriding styles for the description */ descriptionStyles?: SystemStyleObject; } export declare const Toggle: _<"input", ToggleProps>;