import { type CreateVersionOptions, type FlowDefinitionListFilter, type FlowDefinitionVersion, type FlowDefinitionsStore, type FlowDefinition } from '@kuralle-agents/core'; import type { QueryResult } from 'pg'; type PostgresClient = { query: (text: string, params?: unknown[]) => Promise; }; export type PostgresFlowDefinitionsStoreOptions = { client: PostgresClient; tableName?: string; autoMigrate?: boolean; }; export declare class PostgresFlowDefinitionsStore implements FlowDefinitionsStore { private readonly client; private readonly table; private readonly ready; constructor(options: PostgresFlowDefinitionsStoreOptions); private init; createVersion(def: FlowDefinition, options?: CreateVersionOptions): Promise; setActive(name: string, versionId: string): Promise; getActive(name: string): Promise; getVersion(versionId: string): Promise; list(filter?: FlowDefinitionListFilter): Promise; archive(name: string): Promise; } export {};