import * as React from 'react'; import type { TreeSelectContextValue, TreeSelectNode, TreeSelectProps } from './types.js'; /** Default `filter`: case-insensitive substring match on the node's `label ?? value`. */ export declare function defaultTreeSelectFilter(node: TreeSelectNode, inputValue: string): boolean; /** Default `getMatchCountLabel`: `"1 match available"` / `"3 matches available"`. */ export declare function defaultGetMatchCountLabel(count: number): string; export declare const TreeSelectProvider: React.FC, useTreeSelectContext: (consumerName: string) => TreeSelectContextValue; /** * Root of a tree select: a `role="combobox"` trigger whose popup is a WAI-ARIA `treeview` for picking from hierarchical `collection` data, driving virtual focus via `aria-activedescendant` and cascading checks through `valueStrategy`. * * @example * ```tsx * const REGIONS = [ * { value: 'emea', label: 'EMEA', children: [{ value: 'uk', label: 'United Kingdom' }] }, * ]; * * * * * * * * * * No regions match * * * * ``` */ export declare function TreeSelect(treeSelectProps: TreeSelectProps): React.JSX.Element; export declare namespace TreeSelect { var displayName: string; }