import '@oicl/openbridge-webcomponents/dist/components/check-button/check-button.js'; import type { CheckButtonType, CheckButtonCheckboxAppearance } from '@oicl/openbridge-webcomponents/dist/components/check-button/check-button.js'; import type { Snippet } from 'svelte'; export interface Props { class?: string; style?: string; /** Determines the visual style and toggle behavior of the button. - `regular`: Standard button with optional icon and label. - `checkbox`: Checkbox-style toggle with checked/unchecked icons. */ type?: CheckButtonType; /** Whether the button is currently checked (selected/on). When clicked, this state toggles and the `check-button-click` event is fired. */ checked?: boolean; /** Disables the button, preventing user interaction and applying disabled styling. */ disabled?: boolean; /** If false, button width adapts to its content (fit-content). If true, uses the `width` property (if set) or expands to 100% of parent. */ fullWidth?: boolean; /** Specific width for the button (e.g., "200px", "10rem"). Only applies when `fullWidth` is true. */ width?: string; /** Whether to show the icon in regular mode (icon slot). Ignored in checkbox mode. */ showIcon?: boolean; /** If true, uses the `checked-icon` slot for the checked state in checkbox mode. Otherwise, uses the default checked icon. */ hasCheckedIcon?: boolean; /** If true, uses the `unchecked-icon` slot for the unchecked state in checkbox mode. Otherwise, uses the default unchecked icon. */ hasUncheckedIcon?: boolean; /** Optional appearance mode for checkbox type. Keep `default` for existing behavior. Use `updated` for the new checkbox visuals. */ checkboxAppearance?: CheckButtonCheckboxAppearance; } export interface Events { onCheckButtonClick?: (event: CustomEvent<{ checked: boolean; type: string; }>) => void; } export interface Slots { children?: Snippet; icon?: Snippet; checkedIcon?: Snippet; uncheckedIcon?: Snippet; } type $$ComponentProps = Props & Events & Slots; declare const ObcCheckButton: import("svelte").Component<$$ComponentProps, { CheckButtonType: typeof CheckButtonType; CheckButtonCheckboxAppearance: typeof CheckButtonCheckboxAppearance; }, "">; type ObcCheckButton = ReturnType; export default ObcCheckButton;