import * as React from "react"; import { SwitchProps } from "./Switch.types"; export declare const useStyles: (params: void, options?: import("@mantine/core").UseStylesOptions | undefined) => { classes: { label: string; }; cx: (...args: any) => string; theme: import("@mantine/core").MantineTheme; }; /** Presentational switch component */ export declare const SwitchComponent: React.ForwardRefExoticComponent<{ size?: import("@mantine/core").MantineSize | undefined; color?: import("../theme/colors").Color | undefined; label?: React.ReactNode; description?: React.ReactNode; checked?: boolean | undefined; onChange?: ((checked: boolean) => void) | undefined; error?: React.ReactNode; offLabel?: React.ReactNode; onLabel?: React.ReactNode; sx?: import("@mantine/core").CSSObject | undefined; } & import("../styling.types").CommonStylingProps & Omit, HTMLInputElement>, "error" | "color" | "ref" | "size" | "sx" | "label" | "onChange" | keyof import("../styling.types").CommonStylingProps | "checked" | "description" | "offLabel" | "onLabel"> & React.RefAttributes>; export declare const Switch: React.ForwardRefExoticComponent<{ id?: string | undefined; defaultDisabled?: boolean | undefined; defaultChecked?: boolean | undefined; } & import("../../state/components/input/types").InputProps & { size?: import("@mantine/core").MantineSize | undefined; color?: import("../theme/colors").Color | undefined; label?: React.ReactNode; description?: React.ReactNode; checked?: boolean | undefined; onChange?: ((checked: boolean) => void) | undefined; error?: React.ReactNode; offLabel?: React.ReactNode; onLabel?: React.ReactNode; sx?: import("@mantine/core").CSSObject | undefined; } & import("../styling.types").CommonStylingProps & Omit, HTMLInputElement>, "error" | "color" | "ref" | "size" | "sx" | "label" | "onChange" | keyof import("../styling.types").CommonStylingProps | "checked" | "description" | "offLabel" | "onLabel"> & React.RefAttributes>; /** Exported for documentation purposes */ export declare const SwitchWithoutRef: (props: SwitchProps & { innerRef: React.Ref; }) => import("react/jsx-runtime").JSX.Element;