import * as konro from 'konro'; import { OnDemandDbContext } from 'konro'; import { StateFile } from 'relaycode-core'; declare const relaySchema: konro.KonroSchema<{ readonly transactions: { readonly id: konro.ColumnDefinition; readonly uuid: konro.ColumnDefinition; readonly projectId: konro.ColumnDefinition; readonly createdAt: konro.ColumnDefinition; readonly linesAdded: konro.ColumnDefinition; readonly linesRemoved: konro.ColumnDefinition; readonly linesDifference: konro.ColumnDefinition; readonly gitCommitMsg: konro.ColumnDefinition; readonly gitCommittedAt: konro.ColumnDefinition; readonly promptSummary: konro.ColumnDefinition; readonly reasoning: konro.ColumnDefinition; readonly operations: konro.ColumnDefinition<({ path: string; type: "write"; content: string; patchStrategy: "replace" | "standard-diff" | "search-replace"; } | { path: string; type: "delete"; } | { type: "rename"; from: string; to: string; })[]>; readonly snapshot: konro.ColumnDefinition>; readonly approved: konro.ColumnDefinition; readonly status: konro.ColumnDefinition; }; }, {}>; type RelaySchema = typeof relaySchema; type TransactionRecord = RelaySchema['base']['transactions']; declare function toStateFile(record: TransactionRecord): StateFile; declare function fromStateFile(stateFile: StateFile): Omit; declare function getDb(cwd: string): OnDemandDbContext; export { type RelaySchema, type TransactionRecord, fromStateFile, getDb, relaySchema, toStateFile };