UNPKG

svelte-multiselect

Version:
6 lines (5 loc) 382 B
import type { Option } from './types'; export declare const is_object: (val: unknown) => val is Record<string, unknown>; export declare const get_label: (opt: Option) => string | number; export declare function get_style(option: Option, key?: `selected` | `option` | null | undefined): string; export declare function fuzzy_match(search_text: string, target_text: string): boolean;