import '@oicl/openbridge-webcomponents/dist/components/button/button.js'; import type { ButtonVariant, segmentPosition } from '@oicl/openbridge-webcomponents/dist/components/button/button.js'; import type { Snippet } from 'svelte'; export interface Props { class?: string; style?: string; /** Controls the button's visual style. - `normal`: Standard button (default) - `raised`: Elevated button for emphasis - `flat`: Minimal, low-emphasis button */ variant?: ButtonVariant; /** Expands the button to fill the width of its container when true. */ fullWidth?: boolean; /** Disables the button or link, preventing user interaction and applying disabled styling. */ disabled?: boolean; /** Whether to show the leading icon slot (`slot="leading-icon"`). When true, content in the `leading-icon` slot will be displayed before the label. */ showLeadingIcon?: boolean; /** Whether to show the trailing icon slot (`slot="trailing-icon"`). When true, content in the `trailing-icon` slot will be displayed after the label. */ showTrailingIcon?: boolean; /** When provided, renders the button as an anchor link (``) instead of a native button. Use for navigation actions. */ href?: string | undefined; /** Specifies the target for the anchor link (only applies when `href` is set). Common values: `_blank`, `_self`, `_parent`, `_top`. */ target?: string | undefined; /** Defines the segment position when used in a segmented button group. - `single`: Standalone button - `start`: First button in a group - `middle`: Middle button in a group - `end`: Last button in a group */ segmentPosition?: segmentPosition; } export interface Events { onClick?: (event: CustomEvent) => void; } export interface Slots { children?: Snippet; leadingIcon?: Snippet; trailingIcon?: Snippet; } type $$ComponentProps = Props & Events & Slots; declare const ObcButton: import("svelte").Component<$$ComponentProps, { ButtonVariant: typeof ButtonVariant; segmentPosition: typeof segmentPosition; }, "">; type ObcButton = ReturnType; export default ObcButton;