import '@oicl/openbridge-webcomponents/dist/components/toggle-switch/toggle-switch.js'; import type { Snippet } from 'svelte'; export interface Props { class?: string; style?: string; /** Main label for the toggle switch. Should clearly describe the setting being toggled. */ label?: string; /** Whether the toggle is in the "on" (checked) state. Set to true to display as active/on. */ checked?: boolean; /** Disables the toggle, preventing user interaction and applying a disabled style. */ disabled?: boolean; /** If true, displays the description text below the label. */ hasDescription?: boolean; /** Supplementary description text shown when `hasDescription` is true. Use to clarify the effect or details of the toggle. */ description?: string; /** If true, renders a divider below the toggle switch. Useful for visually separating items in a list. */ hasBottomDivider?: boolean; /** If true, displays a leading icon before the label. Provide icon content via the `icon` slot. */ hasIcon?: boolean; /** If true, the toggle is controlled externally. Use to control the toggle state from outside the component. */ externalControl?: boolean; } export interface Events { onInput?: (event: CustomEvent) => void; } export interface Slots { icon?: Snippet; } type $$ComponentProps = Props & Events & Slots; declare const ObcToggleSwitch: import("svelte").Component<$$ComponentProps, {}, "">; type ObcToggleSwitch = ReturnType; export default ObcToggleSwitch;