import '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js'; import type { ObcDropdownButtonChangeEvent, DropdownButtonType } from '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js'; import type { Snippet } from 'svelte'; export interface Props { class?: string; style?: string; /** List of selectable options. Each option is an object with a `value` (string), `label` (string), and optional `level` (number) for indentation/grouping. Example: [ { value: 'volvo', label: 'Volvo' }, { value: 'xc90', label: 'XC 90', level: 2 } ] */ options?: { value: string; label: string; level?: number | undefined; }[]; /** The value of the currently selected option. If not set, defaults to the first option in the list. */ value?: string | undefined; disabled?: boolean; /** If true, the select expands to fill the width of its container. Default is false. */ fullWidth?: boolean; /** Controls the button's display type. - `label`: Text label only (default) - `icon`: Icon only, no label - `label-icon`: Icon before the label */ type?: DropdownButtonType; /** If true, the dropdown menu opens above the button. */ openTop?: boolean; /** If true, the select is integration style. Default is false, only for integration bar. */ integration?: boolean; flat?: boolean; } export interface Events { onDropdownChange?: (event: ObcDropdownButtonChangeEvent) => void; onChange?: (event: ObcDropdownButtonChangeEvent) => void; } export interface Slots { children?: Snippet; icon?: Snippet; } type $$ComponentProps = Props & Events & Slots; declare const ObcDropdownButton: import("svelte").Component<$$ComponentProps, { ObcDropdownButtonChangeEvent: typeof ObcDropdownButtonChangeEvent; DropdownButtonType: typeof DropdownButtonType; }, "">; type ObcDropdownButton = ReturnType; export default ObcDropdownButton;