import type { Client } from "@libsql/client"; import { type LedgerRecord } from "../yon/ledger-read.js"; import { type InsertProvenanceArgs, type ProvenanceWriteTargetType } from "./vault-db-repo.js"; export interface RecordProvenanceArgs extends InsertProvenanceArgs { stampSrc: string; writerId?: string; } export interface RecordProvenanceResult { ledgerPath: string; ts: string; ledgerHash: string; cacheInserted: boolean; } export declare function getProvenanceLedgerDir(vaultPath: string): string; export declare function getProvenanceLedgerPath(vaultPath: string): string; export declare function listProvenanceShards(vaultPath: string): string[]; export declare function walkAllProvenanceShards(vaultPath: string): LedgerRecord[]; export declare function recordProvenance(vaultPath: string, db: Client, args: RecordProvenanceArgs): Promise; export type ProvenanceLedgerFields = Pick; export declare function reinjectProvenanceRecord(db: Client, fields: ProvenanceLedgerFields): Promise; export type { ProvenanceWriteTargetType }; //# sourceMappingURL=provenance-write.d.ts.map