/**
 * Created by zhiyuan.huang@ddder.net.
 */
import { AbstractSqliteDriver } from "../sqlite-abstract/AbstractSqliteDriver";
import { DdderConnectionOptions } from "./DdderConnectionOptions";
import { QueryRunner } from "../../query-runner/QueryRunner";
import { Connection } from "../../connection/Connection";
export declare class DdderDriver extends AbstractSqliteDriver {
    options: DdderConnectionOptions;
    constructor(connection: Connection);
    /**
     * Closes connection with database.
     */
    disconnect(): Promise<void>;
    /**
     * Creates connection with the database.
     */
    protected createDatabaseConnection(): Promise<void>;
    /**
     * Creates a query runner used to execute database queries.
     */
    createQueryRunner(mode?: "master" | "slave"): QueryRunner;
    /**
     * If driver dependency is not given explicitly, then try to load it via "require".
     */
    protected loadDependencies(): void;
}
