import { View, type PressableProps } from 'react-native'; import { type VariantProps } from 'tailwind-variants'; declare const switchVariants: import("tailwind-variants").TVReturnType<{ size: { sm: { track: string; thumb: string; }; md: { track: string; thumb: string; }; }; disabled: { true: { track: string; }; }; }, { track: string; activeTrack: string; thumb: string; }, undefined, { size: { sm: { track: string; thumb: string; }; md: { track: string; thumb: string; }; }; disabled: { true: { track: string; }; }; }, { track: string; activeTrack: string; thumb: string; }, import("tailwind-variants").TVReturnType<{ size: { sm: { track: string; thumb: string; }; md: { track: string; thumb: string; }; }; disabled: { true: { track: string; }; }; }, { track: string; activeTrack: string; thumb: string; }, undefined, unknown, unknown, undefined>>; export interface SwitchProps extends VariantProps, Pick { className?: string; value: boolean; onValueChange?: (value: boolean) => void; disabled?: boolean; /** * Render the platform's own switch instead of this one. Requires the * optional `@expo/ui` package; without it this prop does nothing. * * **Theme tokens do not apply** — the platform draws the control, so * `className` and `size` are ignored. */ native?: boolean; /** Names the control to assistive technology; native mode also draws it. */ label?: string; /** * Tick the haptic engine each time the switch is flipped — a toggle you feel * click rather than one that merely slides. Needs the optional * `expo-haptics`, and is silent without it. Ignored in `native` mode, where * the platform control owns its own feedback. */ haptics?: boolean; } export declare const Switch: import("react").ForwardRefExoticComponent>; export {}; //# sourceMappingURL=index.d.ts.map