import { ReactNode } from "react";
import { UiBaseProps } from "../types";
import { TreeMultiSelectOptionsLayout, TreeSelectNode } from "./types";
type TreePickerBulkActions = {
    onSelectAll: () => void;
    onDeselectAll: () => void;
};
type TreePickerBaseProps = Omit<UiBaseProps<never>, "value" | "onChange"> & {
    nodes: readonly TreeSelectNode[];
    selectedIds: Set<string>;
    partialIds: Set<string>;
    selectionMode: "single" | "multi";
    optionsLayout?: TreeMultiSelectOptionsLayout;
    open?: boolean;
    onOpenChange?: (open: boolean) => void;
    bulkActions?: TreePickerBulkActions;
    triggerMode?: "display" | "search";
    selectedSummary?: ReactNode;
    selectedSummaryText?: string;
    query?: string;
    defaultQuery?: string;
    onQuery?: (value: string) => void;
    onNodeActivate: (node: TreeSelectNode) => void;
    onClearSelection?: () => void;
    isLoading?: boolean;
    error?: string;
};
export declare function TreePickerBase({ label, description, disabled, placeholder, size, nodes, selectedIds, partialIds, selectionMode, optionsLayout, open: controlledOpen, onOpenChange, bulkActions, triggerMode, selectedSummary, selectedSummaryText, query, defaultQuery, onQuery, onNodeActivate, onClearSelection, isLoading, error }: TreePickerBaseProps): import("react").JSX.Element;
export {};
//# sourceMappingURL=TreePickerBase.d.ts.map