import { PGliteOptions, PGlite } from '@electric-sql/pglite'; export { PGlite } from '@electric-sql/pglite'; import { I as IBasePostgresConnectionConfig, B as BasePostgresConnection } from '../BasePostgresConnection-Di94o0ON.js'; import { ConnectionMigrator, SchemaDiffResult, PlanResult, PlanStep } from 'lite-supa'; import 'kysely'; declare class PostgresMigrator implements ConnectionMigrator { #private; private readonly from; private readonly desiredSchema; constructor(from: PgliteConnection, desiredSchema: string); diff(): Promise; migratePlan(planResult: PlanResult, opts?: { force?: boolean; }): Promise; migrate(opts?: { force?: boolean; }): Promise; safeSortPlanSteps(steps: PlanStep[]): PlanStep[]; } interface IPgliteConnectionConfig extends IBasePostgresConnectionConfig { pgliteOptions?: Omit; } declare class PgliteConnection extends BasePostgresConnection { #private; driver: PGlite; dialect: "postgres"; constructor(config?: IPgliteConnectionConfig); exec(query: string, ...parameters: readonly unknown[]): Promise; close(): Promise; createMigrator(desiredSchema: string): PostgresMigrator; } declare function createPgliteConnection(config?: IPgliteConnectionConfig): Promise; export { type IPgliteConnectionConfig, PgliteConnection, createPgliteConnection };