import React from 'react'; import type { InputCallback } from '../types'; import { GlobalProps } from '../utilities/globalProps'; declare type Props = { aria?: { [key: string]: string; }; checked?: boolean; children?: React.ReactNode | React.ReactNode[]; className?: string; data?: { [key: string]: string; }; id?: string; name?: string; onChange?: InputCallback; size?: "sm" | "md"; value?: string; } & GlobalProps; declare const Toggle: ({ aria, checked, children, className, data, id, name, onChange, size, value, ...props }: Props) => JSX.Element; export default Toggle;