/// <reference types="@cloudflare/workers-types" />
/**
 * The D1Orm class is the main class for the ORM. It is used to create models, and to run queries.
 *
 * It's methods generally don't need to be called directly, but are instead to be used by the models.
 */
export declare class D1Orm implements D1Database {
    constructor(database: D1Database);
    private readonly database;
    prepare(query: string): D1PreparedStatement;
    dump(): Promise<ArrayBuffer>;
    batch<T>(statements: D1PreparedStatement[]): Promise<D1Result<T>[]>;
    exec(query: string): Promise<D1ExecResult>;
}
/**
 * @private
 * @hidden
 */
export declare function isDatabase(database: unknown): database is D1Database;
//# sourceMappingURL=database.d.ts.map