import { DOMElement, ID } from "../../types/index.mjs";
import { AtomExpose } from "../Atom/Atom.vue.mjs";
import "../../index.mjs";
import _default, { SwitchGroupExpose, SwitchGroupProps, SwitchGroupSlotProps, SwitchTicket, provideSwitchGroup, useSwitchGroup } from "./SwitchGroup.vue.mjs";
import _default$1, { SwitchHiddenInputProps } from "./SwitchHiddenInput.vue.mjs";
import _default$2, { SwitchRootContext, SwitchRootProps, SwitchRootSlotProps, SwitchState, provideSwitchRoot, useSwitchRoot } from "./SwitchRoot.vue.mjs";
import _default$3, { SwitchSelectAllProps, SwitchSelectAllSlotProps } from "./SwitchSelectAll.vue.mjs";
import _default$4, { SwitchThumbProps, SwitchThumbSlotProps } from "./SwitchThumb.vue.mjs";
import _default$5, { SwitchTrackProps, SwitchTrackSlotProps } from "./SwitchTrack.vue.mjs";
import "../index.mjs";
//#region src/components/Switch/index.d.ts
/**
* Switch component with sub-components for toggle controls.
*
* @see https://0.vuetifyjs.com/components/forms/switch
*
* @example
* ```vue
*
*
*
*
*
* ```
*/
declare const Switch: {
/**
* Group component for managing multiple switches with tri-state support.
*
* @see https://0.vuetifyjs.com/components/forms/switch
*
* @example
* ```vue
*
*
*
*
*
*
*
*
* ```
*/
Group: (__VLS_props: NonNullable>["props"], __VLS_ctx?: {
emit: ((evt: "update:model-value", value: T | T[]) => void) & ((event: "update:modelValue", value: T | T[] | undefined) => void);
attrs: any;
slots: {
default: (props: SwitchGroupSlotProps) => any;
};
}, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{
props: import("vue").PublicProps & {
namespace?: string | undefined;
disabled?: boolean | undefined;
enroll?: boolean | undefined;
mandatory?: boolean | "force" | undefined;
label?: string | undefined;
ariaLabelledby?: string | undefined;
ariaDescribedby?: string | undefined;
as?: (DOMElement | null) | undefined;
renderless?: boolean | undefined;
modelValue?: (T | T[]) | undefined;
"onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined;
"onUpdate:model-value"?: ((value: T | T[]) => any) | undefined;
} & (typeof globalThis extends {
__VLS_PROPS_FALLBACK: infer P;
} ? P : {});
expose: (exposed: import("vue").ShallowUnwrapRef) => void;
attrs: any;
slots: {
default: (props: SwitchGroupSlotProps) => any;
};
emit: ((evt: "update:model-value", value: T | T[]) => void) & ((event: "update:modelValue", value: T | T[] | undefined) => void);
}>) => import("vue").VNode & {
__ctx?: NonNullable>;
};
/**
* Hidden input component for form submission.
*
* Auto-rendered by Root when `name` prop is provided.
* Can also be used explicitly for custom form integration.
*
* @see https://0.vuetifyjs.com/components/forms/switch
*
* @example
* ```vue
*
*
*
*
*
*
*
*
* ```
*/
HiddenInput: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
/**
* Root component for individual switches.
*
* Renders as a button with `role="switch"` and proper ARIA attributes.
* Handles click/keyboard interactions. Supports standalone mode with
* v-model or group mode within Switch.Group. When `name` prop is
* provided, automatically renders a hidden input for form submission.
*
* @see https://0.vuetifyjs.com/components/forms/switch
*
* @example
* ```vue
*
*
*
*
*
* ```
*/
Root: (__VLS_props: NonNullable>["props"], __VLS_ctx?: {
emit: ((evt: "update:model-value", value: boolean) => void) & ((event: "update:modelValue", value: boolean | undefined) => void);
attrs: any;
slots: {
default: (props: SwitchRootSlotProps) => any;
};
}, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{
props: import("vue").PublicProps & {
id?: ID | undefined;
label?: string | undefined;
value?: V | undefined;
name?: string | undefined;
form?: string | undefined;
disabled?: (boolean | import("vue").MaybeRefOrGetter) | undefined;
indeterminate?: (boolean | import("vue").MaybeRefOrGetter) | undefined;
namespace?: string | undefined;
groupNamespace?: string | undefined;
ariaLabelledby?: string | undefined;
ariaDescribedby?: string | undefined;
ariaInvalid?: boolean | undefined;
as?: (DOMElement | null) | undefined;
renderless?: boolean | undefined;
modelValue?: boolean | undefined;
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
} & (typeof globalThis extends {
__VLS_PROPS_FALLBACK: infer P;
} ? P : {});
expose: (exposed: import("vue").ShallowUnwrapRef) => void;
attrs: any;
slots: {
default: (props: SwitchRootSlotProps) => any;
};
emit: ((evt: "update:model-value", value: boolean) => void) & ((event: "update:modelValue", value: boolean | undefined) => void);
}>) => import("vue").VNode & {
__ctx?: NonNullable>;
};
/**
* Select-all toggle for group multi-selection.
*
* Binds to parent Switch.Group's aggregate state. Reflects
* isAllSelected/isMixed and calls toggleAll on click. Does NOT
* register as a group item. Must be used within a Switch.Group.
*
* @see https://0.vuetifyjs.com/components/forms/switch
*
* @example
* ```vue
*
*
*
*
*
*
*
*
*
* ```
*/
SelectAll: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
default: (props: SwitchSelectAllSlotProps) => any;
};
});
/**
* Sliding knob for switches.
*
* Renders as a span with a `data-state` attribute for CSS styling.
* Always visible; drive its off/on position and color from `data-state`.
* Must be used within a Switch.Root or Switch.SelectAll.
*
* @see https://0.vuetifyjs.com/components/forms/switch
*
* @example
* ```vue
*
*
*
*
*
* ```
*/
Thumb: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
default: (props: SwitchThumbSlotProps) => any;
};
});
/**
* Track/rail component for switches.
*
* Always visible, provides `data-state` attribute for CSS styling.
* Must be used within a Switch.Root or Switch.SelectAll.
*
* @see https://0.vuetifyjs.com/components/forms/switch
*
* @example
* ```vue
*
*
*
*
*
* ```
*/
Track: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
default: (props: SwitchTrackSlotProps) => any;
};
});
};
//#endregion
export { Switch, _default as SwitchGroup, type SwitchGroupExpose, type SwitchGroupProps, type SwitchGroupSlotProps, _default$1 as SwitchHiddenInput, type SwitchHiddenInputProps, _default$2 as SwitchRoot, type SwitchRootContext, type SwitchRootProps, type SwitchRootSlotProps, _default$3 as SwitchSelectAll, type SwitchSelectAllProps, type SwitchSelectAllSlotProps, type SwitchState, _default$4 as SwitchThumb, type SwitchThumbProps, type SwitchThumbSlotProps, type SwitchTicket, _default$5 as SwitchTrack, type SwitchTrackProps, type SwitchTrackSlotProps, provideSwitchGroup, provideSwitchRoot, useSwitchGroup, useSwitchRoot };