import { r as RecordStore } from "../types-D8zlEUWT.js";
import { Querier, Schema } from "@platform-modules/db";
//#region src/querier/table.d.ts
declare const recordStoreTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
  name: "record_store";
  schema: undefined;
  columns: {
    seq: import("drizzle-orm/pg-core").PgColumn<{
      name: "seq";
      tableName: "record_store";
      dataType: "number";
      columnType: "PgBigSerial53";
      data: number;
      driverParam: number;
      notNull: true;
      hasDefault: true;
      isPrimaryKey: true;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    id: import("drizzle-orm/pg-core").PgColumn<{
      name: "id";
      tableName: "record_store";
      dataType: "string";
      columnType: "PgText";
      data: string;
      driverParam: string;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: [string, ...string[]];
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    createdAtMs: import("drizzle-orm/pg-core").PgColumn<{
      name: "created_at_ms";
      tableName: "record_store";
      dataType: "number";
      columnType: "PgBigInt53";
      data: number;
      driverParam: string | number;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
    record: import("drizzle-orm/pg-core").PgColumn<{
      name: "record";
      tableName: "record_store";
      dataType: "json";
      columnType: "PgJsonb";
      data: unknown;
      driverParam: unknown;
      notNull: true;
      hasDefault: false;
      isPrimaryKey: false;
      isAutoincrement: false;
      hasRuntimeDefault: false;
      enumValues: undefined;
      baseColumn: never;
      identity: undefined;
      generated: undefined;
    }, {}, {}>;
  };
  dialect: "pg";
}>;
declare const recordStoreSchema: {
  recordStore: import("drizzle-orm/pg-core").PgTableWithColumns<{
    name: "record_store";
    schema: undefined;
    columns: {
      seq: import("drizzle-orm/pg-core").PgColumn<{
        name: "seq";
        tableName: "record_store";
        dataType: "number";
        columnType: "PgBigSerial53";
        data: number;
        driverParam: number;
        notNull: true;
        hasDefault: true;
        isPrimaryKey: true;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      id: import("drizzle-orm/pg-core").PgColumn<{
        name: "id";
        tableName: "record_store";
        dataType: "string";
        columnType: "PgText";
        data: string;
        driverParam: string;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: [string, ...string[]];
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      createdAtMs: import("drizzle-orm/pg-core").PgColumn<{
        name: "created_at_ms";
        tableName: "record_store";
        dataType: "number";
        columnType: "PgBigInt53";
        data: number;
        driverParam: string | number;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
      record: import("drizzle-orm/pg-core").PgColumn<{
        name: "record";
        tableName: "record_store";
        dataType: "json";
        columnType: "PgJsonb";
        data: unknown;
        driverParam: unknown;
        notNull: true;
        hasDefault: false;
        isPrimaryKey: false;
        isAutoincrement: false;
        hasRuntimeDefault: false;
        enumValues: undefined;
        baseColumn: never;
        identity: undefined;
        generated: undefined;
      }, {}, {}>;
    };
    dialect: "pg";
  }>;
};
type RecordStoreSchema = typeof recordStoreSchema;
//#endregion
//#region src/querier/index.d.ts
type QuerierRecordStoreOptions = {
  now?: () => string;
  makeId?: () => string;
};
declare function makeQuerierRecordStore<T, S extends Schema>(db: Querier<S>, table?: typeof recordStoreTable, opts?: QuerierRecordStoreOptions): RecordStore<T>;
//#endregion
export { QuerierRecordStoreOptions, type RecordStoreSchema, makeQuerierRecordStore, recordStoreSchema, recordStoreTable };