import { RemoteWriter } from "./remote-writer.js"; /** * Wraps a local Statement and routes execution to remote when appropriate. * - If remoteWriter.isInTransaction → all go remote * - If !stmt.readonly → remote + pull after execution * - Otherwise → local Statement */ export declare class RemoteWriteStatement { private localStmt; private sql; private isStmtReadonly; private remoteWriter; private pullFn; private _boundArgs; constructor(localStmt: any, sql: string, isStmtReadonly: boolean, remoteWriter: RemoteWriter, pullFn: () => Promise); private shouldGoRemote; private shouldPullAfter; raw(toggle?: boolean): this; pluck(toggle?: boolean): this; safeIntegers(toggle?: boolean): this; columns(): any; get reader(): boolean; bind(...bindParameters: any[]): this; run(...bindParameters: any[]): Promise; get(...bindParameters: any[]): Promise; all(...bindParameters: any[]): Promise; iterate(...bindParameters: any[]): AsyncGenerator; close(): void; } //# sourceMappingURL=remote-write-statement.d.ts.map