/** * Internal — instance type for `multiselect-base.svelte`. Public Multi cmps * (`Multiselect`, `MultiselectAsync`, `MultiselectTree`) proxy to this base * and expose their own narrower instance types. */ export type MultiselectBaseInstance = { open: () => void; close: () => void; focus: () => void; /** Re-runs `loadOptions` with the current query while the popover is open. Used by sync proxies on `options` prop change. */ refresh: () => void; }; import type { MultiselectBaseProps } from './types'; declare function $$render(): { props: MultiselectBaseProps; exports: { open: () => void; close: () => void; focus: () => void | undefined; refresh: () => void; }; bindings: ""; slots: {}; events: {}; }; declare class __sveltets_Render { props(): ReturnType>['props']; events(): ReturnType>['events']; slots(): ReturnType>['slots']; bindings(): ""; exports(): { open: () => void; close: () => void; focus: () => void | undefined; refresh: () => void; }; } interface $$IsomorphicComponent { new (options: import('svelte').ComponentConstructorOptions['props']>>): import('svelte').SvelteComponent['props']>, ReturnType<__sveltets_Render['events']>, ReturnType<__sveltets_Render['slots']>> & { $$bindings?: ReturnType<__sveltets_Render['bindings']>; } & ReturnType<__sveltets_Render['exports']>; (internal: unknown, props: ReturnType<__sveltets_Render['props']> & {}): ReturnType<__sveltets_Render['exports']>; z_$$bindings?: ReturnType<__sveltets_Render['bindings']>; } /** * INTERNAL — full-featured multi-value picker engine. NOT exported from the module barrel. * Public Multi cmps proxy here: * - `Multiselect` (sync flat) — Fuse shim, no groups. * - `MultiselectAsync` (async flat) — `loadOptions` debounced. * - `MultiselectTree` (sync grouped) — groups + cascade + create-with-parent. * * Owns: input + trigger markup, chip rendering (`inline`/`external`/`selectionSnippet`), * DnD reorder, listbox, create-with-parent section (when `createOptions` + groups in items), * tri-state group headers, race-prevention against in-flight handlers, 600ms spinner gate, * debounced/Fuse-driven `loadOptions` plumbing through `select-core`. * * ### CSS Custom Properties * * **Trigger:** `--sc-kit--select--trigger--{height, padding-inline, gap, background, * background--disabled, border-color, border-color--hover, border-color--error, border-radius, * underline-color, font-size, color, placeholder--color, icon--color, icon--size}`. * * **Popover panel:** `--sc-kit--select--panel--{background, border-color, border-radius, * box-shadow, font-size, max-height, padding}`. * * **Option rows:** `--sc-kit--select--option--{color, color--selected, background--active, * padding-block, padding-inline}`. * * **Group header:** `--sc-kit--select--group-header--{color, font-size}`. * * **Empty / loading text:** `--sc-kit--select--empty--color`. * * **Chip:** `--sc-kit--select--chip--{inline--background, inline--border-color, * external--background, external--border-color, color, border-radius, padding-block, * padding-inline, font-size, gap, max-width, remove-color, remove-color--hover}`. * * **Spinner** (rendered while loading): `--sc-kit--spinner--{size, duration}`. */ declare const MultiselectBase: $$IsomorphicComponent; type MultiselectBase = InstanceType>; export default MultiselectBase;