import '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';
import type { ObcIntegrationDropdownButtonChangeEvent } from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';
import type { HTMLTemplateResult } from 'lit';
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), `icon` (HTMLTemplateResult), and optional `disabled` (boolean).
Example:
[
{ value: 'volvo', label: 'Volvo', icon: html`` },
{ value: 'xc90', label: 'XC 90', icon: html`` }
] */
options?: {
value: string;
label: string;
status?: string | undefined;
icon: HTMLTemplateResult;
disabled?: boolean | undefined;
}[];
hasFleet?: boolean;
fleetLabel?: string;
/** The value of the currently selected option. */
value?: string | undefined;
placeholder?: string;
disabled?: boolean;
/** If true, the select expands to fill the width of its container. Default is false. */
fullWidth?: boolean;
/** If true, the dropdown menu opens above the button. */
openTop?: boolean;
}
export interface Events {
onChange?: (event: ObcIntegrationDropdownButtonChangeEvent) => void;
}
export interface Slots {
fleet?: Snippet;
}
type $$ComponentProps = Props & Events & Slots;
declare const ObcIntegrationDropdownButton: import("svelte").Component<$$ComponentProps, {
ObcIntegrationDropdownButtonChangeEvent: typeof ObcIntegrationDropdownButtonChangeEvent;
HTMLTemplateResult: typeof HTMLTemplateResult;
}, "">;
type ObcIntegrationDropdownButton = ReturnType;
export default ObcIntegrationDropdownButton;