import { ForeignKeyField } from './schema'; import { Connection } from './engine'; import { Table, Filter } from './database'; import { Document, Value } from './types'; export declare function createNode(connection: Connection, table: Table, row: Document): Promise; export declare function moveSubtree(connection: Connection, table: Table, row: Document): Promise; export declare function deleteSubtree(connection: Connection, table: Table, filter: string): Promise; export declare function treeQuery(connection: Connection, table: Table, node: Value | Document, joinField: ForeignKeyField, filter?: Filter): Promise;