import type { EntryRevision } from '../../../types/index.js'; import type { EntriesSharedContext } from './shared.js'; export type { EntryRevision }; export interface VersionDiff { entryId: number; fromRevision: number; toRevision: number | 'current'; fromContent: string; toContent: string; addedLines: string[]; removedLines: string[]; } export declare function getEntryRevisions(context: EntriesSharedContext, id: number): EntryRevision[]; export declare const getEntryHistory: typeof getEntryRevisions; export declare function compareEntryVersions(context: EntriesSharedContext, entryId: number, fromRevision: number, toRevision?: number): VersionDiff | null; //# sourceMappingURL=revisions.d.ts.map