import * as Effect from "effect/Effect"; import type { SQLiteErrorType } from "./SQLiteError.ts"; /** * A prepared SQL statement that can be executed multiple times. */ export interface SQLiteStatement { /** * Execute the statement and return all matching rows. */ all(...params: unknown[]): Effect.Effect; /** * Execute the statement and return the first matching row. */ get( ...params: unknown[] ): Effect.Effect; /** * Execute the statement for its side effects (INSERT, UPDATE, DELETE). */ run(...params: unknown[]): Effect.Effect; }