import { Table, Filter } from './database'; import { Document, Value } from './types'; export type Result = { [key: string]: Map; }; export type FieldOptions = '' | '*' | '**' | { [key: string]: FieldOptions; }; export declare function selectTree(table: Table, filter: Filter, options?: FieldOptions): Promise; export declare function selectTree2(table: Table, filter: Filter): Promise;