import type { ListCollection, TreeCollection } from '@ark-ui/svelte/collection';
export interface ListItem<T = number | string> {
    value: T;
    label: string;
    disabled?: boolean;
    group?: string;
}
export interface TreeItem {
    value: number | string;
    label: string;
    disabled?: boolean;
    children?: TreeItem[];
}
export declare function createListCollection<T extends ListItem>(items: T[]): ListCollection<T>;
export declare function createTreeCollection<T extends TreeItem>(items: T[]): TreeCollection<T>;
