import React from 'react'; import { type StyleProp, type View, type ViewStyle } from 'react-native'; import { type ControlBaseProps } from './Control'; export type SwitchBaseProps = Omit< ControlBaseProps, 'controlSize' | 'dotSize' >; export type SwitchProps = SwitchBaseProps & { /** * Label content rendered next to the switch control. * * @example * ```tsx * Dark mode * ``` */ children?: React.ReactNode; /** Slot-level styles for Switch. */ styles?: { /** Persistent outer wrapper across all variants. */ root?: StyleProp; /** * Control wrapper style. * Applied to the underlying `Control` element (same element that receives `style`). */ control?: StyleProp; }; }; export declare const Switch: React.MemoExoticComponent< ({ ref, ..._props }: SwitchProps & { ref?: React.Ref; }) => import('react/jsx-runtime').JSX.Element >; //# sourceMappingURL=Switch.d.ts.map