/// <reference types="react" />
import { SwitchProps } from "../../core/Switch/switch.type";
export type PropsFrom<TComponent> = TComponent extends React.FC<infer Props> ? Props : TComponent extends React.Component<infer Props> ? Props : never;
export type SwitchWithTextProps = PropsFrom<React.FC<SwitchProps>> & {
    text?: {
        checked: React.ReactNode;
        unchecked: React.ReactNode;
    };
};
