'use client'; import { PgIdentifier } from "./pg-identifier.mjs"; //#region src/sql/builder.d.ts type PostgresQueryBuilderCommand = "bitmapscan" | "indexscan" | "seqscan"; declare class PostgresQueryBuilder { private query; private readonly commands; private isIntrospection; private explainFlags; private _preamble; private parameters; private limitSubstitution?; constructor(query: string); get preamble(): number; static createIndex(definition: string, name?: PgIdentifier): PostgresQueryBuilder; enable(command: PostgresQueryBuilderCommand, value?: boolean): this; withQuery(query: string): this; introspect(): this; explain(flags: string[]): this; parameterize(parameters: Record): this; replaceLimit(limit: number): this; build(): string; /** Return the "set a=b" parts of the command in the query separate from the explain select ... part */ buildParts(): { commands: string; query: string; }; private generateSetCommands; private generateExplain; private substituteQuery; } type Parameter = `$${string}`; //#endregion export { Parameter, PostgresQueryBuilder, PostgresQueryBuilderCommand }; //# sourceMappingURL=builder.d.mts.map