import type { SqliteDatabase } from '../db/adapter.js'; import { type EntryRecord } from './entries.js'; export interface PromoteInput { workspace: string; entryId: string; expectedRevision: number; actor?: string; now?: string; } export interface SupersedeInput { workspace: string; oldEntryId: string; replacementEntryId: string; expectedRevision: number; actor?: string; now?: string; } export interface LinkInput { workspace: string; fromEntryId: string; toEntryId: string; relation: 'supports' | 'contradicts' | 'derived_from' | 'related_to'; actor?: string; now?: string; } export declare function promoteEntry(database: SqliteDatabase, input: PromoteInput): EntryRecord; export declare function supersedeEntry(database: SqliteDatabase, input: SupersedeInput): EntryRecord; export declare function linkEntries(database: SqliteDatabase, input: LinkInput): void; //# sourceMappingURL=lifecycle.d.ts.map