import { AriaSwitchProps, useSwitch } from 'react-aria';
import { FieldBaseProps } from '../../../shared';
import { BaseProps, BlockStyleProps, OuterStyleProps, Styles } from '../../../tasty';
export interface CubeSwitchProps extends BaseProps, OuterStyleProps, BlockStyleProps, FieldBaseProps, AriaSwitchProps {
    inputStyles?: Styles;
    isLoading?: boolean;
    size?: 'large' | 'medium' | 'small';
}
/**
 * Switches allow users to turn an individual option on or off.
 * They are usually used to activate or deactivate a specific setting.
 */
declare let _Switch: import("react").ForwardRefExoticComponent<Omit<CubeSwitchProps, "isSelected" | "defaultSelected"> & {
    isSelected?: T["isSelected"] | any;
    defaultSelected?: T["defaultSelected"] | any;
} & import("react").RefAttributes<unknown>>;
export { _Switch as Switch };
export type { AriaSwitchProps };
export { useSwitch };
