import * as react_jsx_runtime from 'react/jsx-runtime';
import * as _radix_ui_react_context from '@radix-ui/react-context';
import { Scope } from '@radix-ui/react-context';
import * as React from 'react';
import { Primitive } from '@radix-ui/react-primitive';
type ScopedProps
= P & {
__scopeSwitch?: Scope;
};
declare const createSwitchScope: _radix_ui_react_context.CreateScope;
interface SwitchProviderProps {
checked?: boolean;
defaultChecked?: boolean;
required?: boolean;
onCheckedChange?(checked: boolean): void;
name?: string;
form?: string;
disabled?: boolean;
value?: string | number | readonly string[];
children?: React.ReactNode;
}
declare function SwitchProvider(props: ScopedProps): react_jsx_runtime.JSX.Element;
interface SwitchTriggerProps extends Omit, keyof SwitchProviderProps> {
children?: React.ReactNode;
}
declare const SwitchTrigger: React.ForwardRefExoticComponent>;
type PrimitiveButtonProps = React.ComponentPropsWithoutRef;
interface SwitchProps extends Omit {
checked?: boolean;
defaultChecked?: boolean;
required?: boolean;
onCheckedChange?(checked: boolean): void;
}
declare const Switch: React.ForwardRefExoticComponent>;
type PrimitiveSpanProps = React.ComponentPropsWithoutRef;
interface SwitchThumbProps extends PrimitiveSpanProps {
}
declare const SwitchThumb: React.ForwardRefExoticComponent>;
type InputProps = React.ComponentPropsWithoutRef;
interface SwitchBubbleInputProps extends Omit {
}
declare const SwitchBubbleInput: React.ForwardRefExoticComponent>;
export { Switch as Root, Switch, type SwitchProps, SwitchThumb, type SwitchThumbProps, SwitchThumb as Thumb, createSwitchScope, SwitchBubbleInput as unstable_BubbleInput, SwitchProvider as unstable_Provider, SwitchBubbleInput as unstable_SwitchBubbleInput, type SwitchBubbleInputProps as unstable_SwitchBubbleInputProps, SwitchProvider as unstable_SwitchProvider, type SwitchProviderProps as unstable_SwitchProviderProps, SwitchTrigger as unstable_SwitchTrigger, type SwitchTriggerProps as unstable_SwitchTriggerProps, SwitchTrigger as unstable_Trigger };