import * as React from "react"; import { Switch as SwitchPrimitives } from "radix-ui"; import { type VariantProps } from "../../utils.js"; import type { SwitchItemDto, SwitchItemFormatted } from "../domains/index.js"; /** * Switch Renderer */ declare const switchVariants: (props?: ({ labelPosition?: "end" | "start" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; type SwitchPrimitiveProps = Omit & VariantProps & SwitchItemDto & { onChange?: (checked: boolean) => void; }; type SwitchPrimitivVm = { item?: SwitchItemFormatted; }; declare const SwitchPrimitive: ((props: SwitchPrimitiveProps) => React.JSX.Element | null) & { original: (props: SwitchPrimitiveProps) => React.JSX.Element | null; originalName: string; displayName: string; } & { original: ((props: SwitchPrimitiveProps) => React.JSX.Element | null) & { original: (props: SwitchPrimitiveProps) => React.JSX.Element | null; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<((props: SwitchPrimitiveProps) => React.JSX.Element | null) & { original: (props: SwitchPrimitiveProps) => React.JSX.Element | null; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; export { SwitchPrimitive, type SwitchPrimitiveProps, type SwitchPrimitivVm };