export type ListboxOption = {
    label: string;
    content?: string;
    value?: string | number;
    disabled?: boolean;
    type?: 'option' | 'section';
};
interface Props {
    /**
     * The current selected value(s) of the listbox.
     */
    value: string | number | null | (string | number)[];
    /**
     * Unique identifier for the listbox.
     */
    id: string;
    /**
     * Whether the listbox is open.
     */
    open?: boolean;
    /**
     * Enable multiple value.
     */
    multiple?: boolean;
    /**
     * Make the listbox read-only.
     */
    readonly?: boolean;
    /**
     * Show a search input above the options.
     */
    search?: boolean;
    /**
     * Show select all / clear buttons when multiple.
     */
    actions?: boolean;
    /**
     * Enable checkable section headers.
     */
    checkablesections?: boolean;
    /**
     * Placeholder text for the search input.
     */
    searchplaceholder?: string;
    /**
     * Label for the "Select all" button.
     */
    selectlabel?: string;
    /**
     * Label for the "Clear value" button.
     */
    clearlabel?: string;
    /**
     * Array of options and sections to display in the listbox.
     */
    options: Array<ListboxOption>;
    /**
     * Callback to trigge when the listbox should open.
     */
    onopen?: () => void;
    /**
     * Callback to trigge when the listbox should close.
     */
    onclose?: () => void;
    activeindex: number;
    element?: HTMLElement | null;
}
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
    new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
        $$bindings?: Bindings;
    } & Exports;
    (internal: unknown, props: Props & {
        $$events?: Events;
        $$slots?: Slots;
    }): Exports & {
        $set?: any;
        $on?: any;
    };
    z_$$bindings?: Bindings;
}
declare const OptionListbox: $$__sveltets_2_IsomorphicComponent<Props, {
    [evt: string]: CustomEvent<any>;
}, {
    optionPrefix: {};
}, {
    toggleValue: (item?: ListboxOption) => void;
    clearSelection: () => void;
    handleKeydown: (event: KeyboardEvent) => void;
}, "value" | "open" | "element" | "activeindex">;
type OptionListbox = InstanceType<typeof OptionListbox>;
export default OptionListbox;
//# sourceMappingURL=OptionListbox.svelte.d.ts.map