import type { ComboboxOption } from './combobox.types.js';
/**
* Combobox component - Searchable select with async loading support.
*
* Uses Composable Architecture pattern with reducer and store for
* state management, keyboard navigation, and debounced async loading.
*
* @example
* ```svelte
*
*
*
* await fetchOptions(query)}
* placeholder="Search..."
* />
* ```
*/
interface ComboboxProps {
/**
* Available options (for local/sync mode).
*/
options?: ComboboxOption[];
/**
* Selected value.
* Use bind:value for two-way binding.
*/
value?: T | null;
/**
* Placeholder text.
*/
placeholder?: string;
/**
* Disabled state.
*/
disabled?: boolean;
/**
* Additional CSS classes.
*/
class?: string;
/**
* Async function to load options based on query.
* If provided, enables async mode.
*/
loadOptions?: (query: string) => Promise[]>;
/**
* Callback when value changes.
*/
onchange?: (value: T | null) => void;
/**
* Debounce delay in milliseconds for async searches (default: 300).
*/
debounceDelay?: number;
}
declare const Combobox: import("svelte").Component, {}, "value">;
type Combobox = ReturnType;
export default Combobox;
//# sourceMappingURL=Combobox.svelte.d.ts.map