import { type MigrationDefinition, type Store, type StoreSetOptions } from "../core/mod.ts"; import { type PostgresService } from "./postgres-service.ts"; /** @unstable */ export interface PostgresStoreValue { key: string; value: any; expiry: Date | null; } export interface PostgresStoreOptions { tableName?: string; } /** @unstable */ export declare class PostgresStore implements Store { get tableName(): string; static getMigration(tableName: string): MigrationDefinition; sql: PostgresService; options: Required; constructor(sql: PostgresService, options?: PostgresStoreOptions); dispose(): Promise; [Symbol.asyncDispose](): Promise; get(key: string): Promise; set(key: string, value: T, options?: StoreSetOptions): Promise; delete(key: string): Promise; close(): Promise; } //# sourceMappingURL=postgres-store.d.ts.map