import { entityKind } from "../../entity.cjs"; import { QueryPromise } from "../../query-promise.cjs"; import type { RunnableQuery } from "../../runnable-query.cjs"; import type { PreparedQuery } from "../../session.cjs"; import type { Query, SQL, SQLWrapper } from "../../sql/sql.cjs"; export interface PgRaw extends QueryPromise, RunnableQuery, SQLWrapper { } export declare class PgRaw extends QueryPromise implements RunnableQuery, SQLWrapper, PreparedQuery { execute: () => Promise; private sql; private query; private mapBatchResult; static readonly [entityKind]: string; readonly _: { readonly dialect: 'pg'; readonly result: TResult; }; constructor(execute: () => Promise, sql: SQL, query: Query, mapBatchResult: (result: unknown) => unknown); getQuery(): Query; mapResult(result: unknown, isFromBatch?: boolean): unknown; _prepare(): PreparedQuery; }