import type MarkdownIt from 'markdown-it';
import type { Context } from '../context.js';
/** Owns Markdown records; completes grammar preparation before atomic publication. */
export declare function createMarkdownFileManager(ctx: Context, md: MarkdownIt, ownsWork?: () => boolean): {
    update: (relativePath: string, current?: () => boolean) => Promise<import("@histoire/shared").ServerMarkdownFile>;
    remove: (relativePath: string) => void;
    reconcile: () => Promise<void>;
    /** Renders only after discovery and association of every forward link target. */
    finishInitialScan(): Promise<void>;
};
//# sourceMappingURL=files.d.ts.map