import { EntityBundleRow } from '../EntityTreeTable';
import { TreeNode } from './useEntityTreeState';
import { SortBy, Direction } from '@sage-bionetworks/synapse-types';
export declare const useTreeOperationsWithDirectFetch: (expanded: Record<string, boolean>, setExpanded: (value: React.SetStateAction<Record<string, boolean>>) => void, tree: Record<string, TreeNode>, setTree: (value: React.SetStateAction<Record<string, TreeNode>>) => void, loadedChildren: Set<string>, setLoadedChildren: (value: React.SetStateAction<Set<string>>) => void, loadingIds: Set<string>, setLoadingIds: (value: React.SetStateAction<Set<string>>) => void, setNextPageTokens: (value: React.SetStateAction<Record<string, string | undefined>>) => void, setLoadingPageTokens: (value: React.SetStateAction<Record<string, string | undefined>>) => void, loadingPageTokens: Record<string, string | undefined>, nextPageTokens: Record<string, string | undefined>, sortBy?: SortBy, sortDirection?: Direction) => {
    handleToggleExpanded: (entityId: string) => Promise<void>;
    handleChildrenLoaded: (entityId: string, children: TreeNode[], nextPageToken?: string) => void;
    loadMoreChildren: (entityId: string, pageToken?: string) => Promise<void>;
    flattenTree: (nodeId: string, visited?: Set<string>) => EntityBundleRow[];
};
//# sourceMappingURL=useTreeOperationsWithDirectFetch.d.ts.map