import React, { type InputHTMLAttributes } from "react"; import type { FormFieldProps } from "../FormField/FormField"; import type { InlineProps } from "../../Inline/Inline"; import type { ToggleSize } from "../../../types"; type ToggleRawProps = { size?: ToggleSize; isHighlighted?: boolean; } & Omit, "size" | "type">; export declare const ToggleRaw: React.ForwardRefExoticComponent<{ size?: ToggleSize; isHighlighted?: boolean; } & Omit, "type" | "size"> & React.RefAttributes>; export type ToggleProps = ToggleRawProps & { /** Controls label alignment with respect to toggle */ alignLabel?: "before" | "after"; /** Display hint below the label specific for the toggle */ labelHint?: string | React.ReactElement; alignItems?: InlineProps["alignItems"]; } & Omit; export declare const Toggle: React.ForwardRefExoticComponent<{ size?: ToggleSize; isHighlighted?: boolean; } & Omit, "type" | "size"> & { /** Controls label alignment with respect to toggle */ alignLabel?: "before" | "after"; /** Display hint below the label specific for the toggle */ labelHint?: string | React.ReactElement; alignItems?: InlineProps["alignItems"]; } & Omit & React.RefAttributes>; export {};