import '@oicl/openbridge-webcomponents/dist/components/start-stop-switch/start-stop-switch.js'; import type { ObcStartStopSwitchChangeEvent, StartStopSwitchVariant, StartStopSwitchSize } from '@oicl/openbridge-webcomponents/dist/components/start-stop-switch/start-stop-switch.js'; import type { Snippet } from 'svelte'; export interface Props { class?: string; style?: string; /** Whether the switch is in the checked (active) state. When checked, the thumb is on the right side. When unchecked, the thumb is on the left side. Defaults to `false`. */ checked?: boolean; /** The visual variant for the switch when checked. - `normal`: Standard blue appearance (default) - `running`: Green appearance indicating motor/process is running - `loading`: Light blue appearance indicating a pending/loading state If `true`, the content of the `checked-state-icon` slot will be displayed when checked. */ showUncheckedStateIcon?: boolean; /** This only affects the visual style, not the switch position. Defaults to `'normal'`. */ variant?: StartStopSwitchVariant; /** The size of the switch. If `true`, the content of the `unchecked-state-icon` slot will be displayed when unchecked. */ showCheckedStateIcon?: boolean; /** - `regular`: Standard size with 32px track height - `large`: Larger size with 48px track height Defaults to `'regular'`. */ size?: StartStopSwitchSize; /** Whether the switch is disabled. When disabled, the switch cannot be interacted with and displays a muted appearance. In the disabled state, the thumb is hidden and only the state label is shown. Defaults to `false`. */ disabled?: boolean; /** Whether to show an alert frame around the switch. When true, displays a red alert border around the switch to indicate an alarm or critical state. Defaults to `false`. */ hasAlert?: boolean; /** Whether to show the description below the switch. When true, displays the description text below the switch track. The component's minimum height is maintained at the touch target size. Defaults to `false`. */ hasDescription?: boolean; /** Description text displayed below the switch when `hasDescription` is true. Use this to provide additional context about the switch's purpose or current state. Defaults to `'Action description'`. */ description?: string; } export interface Events { onChange?: (event: ObcStartStopSwitchChangeEvent) => void; } export interface Slots { checkedStateIcon?: Snippet; uncheckedStateIcon?: Snippet; checkedStateLabel?: Snippet; uncheckedStateLabel?: Snippet; toCheckedActionLabel?: Snippet; toUncheckedActionLabel?: Snippet; } type $$ComponentProps = Props & Events & Slots; declare const ObcStartStopSwitch: import("svelte").Component<$$ComponentProps, { ObcStartStopSwitchChangeEvent: typeof ObcStartStopSwitchChangeEvent; StartStopSwitchVariant: typeof StartStopSwitchVariant; StartStopSwitchSize: typeof StartStopSwitchSize; }, "">; type ObcStartStopSwitch = ReturnType; export default ObcStartStopSwitch;