import type { Database } from "arangojs"; import type { ConfigOptions } from "arangojs/configuration"; import type { ObjectLiteral } from "../../common/ObjectLiteral"; import type { DataSource } from "../../data-source/DataSource"; import type { ColumnMetadata } from "../../metadata/ColumnMetadata"; import type { EntityMetadata } from "../../metadata/EntityMetadata"; import type { QueryRunner } from "../../query-runner/QueryRunner"; import type { SchemaBuilder } from "../../schema-builder/SchemaBuilder"; import type { Table } from "../../schema-builder/table/Table"; import type { TableColumn } from "../../schema-builder/table/TableColumn"; import type { TableForeignKey } from "../../schema-builder/table/TableForeignKey"; import type { View } from "../../schema-builder/view/View"; import type { Driver } from "../Driver"; import type { ColumnType } from "../types/ColumnTypes"; import type { CteCapabilities } from "../types/CteCapabilities"; import type { DataTypeDefaults } from "../types/DataTypeDefaults"; import type { IsolationLevel } from "../types/IsolationLevel"; import type { MappedColumnTypes } from "../types/MappedColumnTypes"; import type { ReplicationMode } from "../types/ReplicationMode"; import type { ReturningType } from "../types/ReturningType"; import type { UpsertType } from "../types/UpsertType"; import type { ArangoDataSourceOptions } from "./ArangoDataSourceOptions"; import { ArangoQueryRunner } from "./ArangoQueryRunner"; /** * Organizes communication with ArangoDB. */ export declare class ArangoDriver implements Driver { protected readonly dataSource: DataSource; static readonly supportedIsolationLevels: IsolationLevel[]; readonly options: ArangoDataSourceOptions; readonly isReplicated = false; readonly treeSupport = false; readonly transactionSupport: "none"; readonly supportedDataTypes: ColumnType[]; readonly supportedIsolationLevels: ("READ COMMITTED" | "READ UNCOMMITTED" | "REPEATABLE READ" | "SERIALIZABLE" | "SNAPSHOT")[]; readonly supportedUpsertTypes: UpsertType[]; readonly spatialTypes: ColumnType[]; readonly withLengthColumnTypes: ColumnType[]; readonly withPrecisionColumnTypes: ColumnType[]; readonly withScaleColumnTypes: ColumnType[]; readonly dataTypeDefaults: DataTypeDefaults; readonly cteCapabilities: CteCapabilities; readonly mappedDataTypes: MappedColumnTypes; arangojs: NonNullable; databaseConnection?: Database; queryRunner?: ArangoQueryRunner; database: string; constructor(dataSource: DataSource); connect(): Promise; afterConnect(): Promise; disconnect(): Promise; createSchemaBuilder(): SchemaBuilder; createQueryRunner(_mode: ReplicationMode): QueryRunner; escapeQueryWithParameters(_sql: string, _parameters: ObjectLiteral): [string, any[]]; escape(_name: string): string; buildTableName(_tableName: string, _schema?: string, _database?: string): string; parseTableName(target: EntityMetadata | Table | View | TableForeignKey | string): { tableName: string; schema?: string; database?: string; }; preparePersistentValue(value: any, column: ColumnMetadata): any; prepareHydratedValue(value: any, column: ColumnMetadata): any; normalizeType(_column: { type?: ColumnType | string; length?: number | string; precision?: number | null; scale?: number; isArray?: boolean; }): string; normalizeDefault(_columnMetadata: ColumnMetadata): string | undefined; normalizeIsUnique(_column: ColumnMetadata): boolean; getColumnLength(_column: ColumnMetadata): string; createFullType(column: TableColumn): string; obtainMasterConnection(): Promise; obtainSlaveConnection(): Promise; createGeneratedMap(metadata: EntityMetadata, insertResult: any): ObjectLiteral | undefined; findChangedColumns(_tableColumns: TableColumn[], _columnMetadatas: ColumnMetadata[]): ColumnMetadata[]; isReturningSqlSupported(_returningType: ReturningType): boolean; isUUIDGenerationSupported(): boolean; isFullTextColumnTypeSupported(): boolean; createParameter(_parameterName: string, _index: number): string; protected buildConnectionOptions(): ConfigOptions; protected loadDependencies(): NonNullable; protected validateOptions(): void; private unsupported; }