import React, { ElementType, Ref } from 'react'; import { Props } from '../../types.js'; declare let DEFAULT_GROUP_TAG: React.ExoticComponent<{ children?: React.ReactNode; }>; declare function Group(props: Props): JSX.Element; interface SwitchRenderPropArg { checked: boolean; } declare type SwitchPropsWeControl = 'role' | 'tabIndex' | 'aria-checked' | 'aria-labelledby' | 'aria-describedby' | 'onClick' | 'onKeyUp' | 'onKeyPress'; export declare let Switch: ( = "button">(props: Props & { checked?: boolean | undefined; defaultChecked?: boolean | undefined; onChange?(checked: boolean): void; name?: string | undefined; value?: string | undefined; }, ref: Ref) => JSX.Element) & { displayName: string; } & { Group: typeof Group; Label: ( = "label">(props: Omit, "as" | "children" | "refName" | "className"> & { as?: TTag_1 | undefined; children?: React.ReactNode | ((bag: {}) => React.ReactElement>); refName?: string | undefined; } & (true extends (import('../../types.js').PropsOf extends never ? never : "className" extends keyof import('../../types.js').PropsOf ? true : never) ? { className?: import('../../types.js').PropsOf["className"] | ((bag: {}) => string) | undefined; } : {}) & { passive?: boolean | undefined; }, ref: React.Ref) => React.ReactElement> | null) & { displayName: string; }; Description: ( = "p">(props: Props, ref: React.Ref) => React.ReactElement> | null) & { displayName: string; }; }; export {};