import * as React from "react"; import * as SwitchPrimitives from "@radix-ui/react-switch"; /** Props for `EnhancedSwitch` component. */ interface EnhancedSwitchProps extends React.ComponentPropsWithoutRef { /** Error message text shown below the switch; sets error styling when present. */ error?: string; /** Informational helper text shown below the switch (when no error). */ info?: string; /** Optional label text displayed beside the switch. */ label?: string; /** Optional description text shown under the label. */ description?: string; /** `data-testid` for the root wrapper (outermost `div`). */ testIdWrapper?: string; /** `data-testid` forwarded to the `EnhancedLabel` component. */ testIdLabel?: string; /** `data-testid` for the switch root element. */ testIdSwitch?: string; /** `data-testid` for the switch thumb element. */ testIdThumb?: string; /** `data-testid` for the description paragraph. */ testIdDescription?: string; /** `data-testid` for the message container (holds error/info). */ testIdMessage?: string; /** `data-testid` for the error text element. */ testIdError?: string; /** `data-testid` for the info text element. */ testIdInfo?: string; } declare const EnhancedSwitch: React.ForwardRefExoticComponent>; export { EnhancedSwitch };