import { type ReactElement, type ReactNode } from "react"; import type { CollectionItem, CollectionOptions } from "../collectionTypes"; export declare const sourceItemHasProp: (item: unknown, propertyName: string) => boolean; export declare const isHeader: (item: unknown) => boolean; export declare const isGroupNode: (item: unknown) => boolean; export declare const isDisabled: (item: unknown) => boolean; export declare const isFocusable: (item: unknown) => boolean; export declare const countChildItems: (item: CollectionItem, items: CollectionItem[], idx: number) => number; export declare const getChildLabel: (element: ReactElement<{ children?: ReactNode; label?: string; title?: string; }>) => string | undefined; export declare const childIsGroup: (child: ReactElement) => boolean; export declare const getChildNodes: (element: ReactElement) => CollectionItem[] | undefined; type CollectionItemWithoutId = Omit, "id">; export declare const sourceItems: (source?: ReadonlyArray, options?: CollectionOptions) => CollectionItemWithoutId[] | undefined; export declare const childItems: (children: ReactNode) => CollectionItem[] | undefined; export declare const isParentPath: (parentPath: string, childPath: string) => boolean; export declare function replaceCollectionItem(nodes: CollectionItem[], id: string, props: Partial>): CollectionItem[]; export {};