UNPKG

histoire

Version:

A fast story book powered by Vite

11 lines • 818 B
import type { PreparedVisualApproval, VisualApprovalItem } from './approve-prepare.js'; import type { ResolvedVisualConfig } from './config.js'; import type { VisualSource } from './source.js'; /** Opens one synchronous publication pass; returned check throws when an item lost its authority. */ export type VisualApprovalFence = () => (item: VisualApprovalItem) => void; /** * Fence, check and rename every staged approval in one synchronous pass, so no asynchronous work * runs between final source fence and publication. Failures stay scoped to their own item. */ export declare function publishVisualApprovals(source: VisualSource, config: ResolvedVisualConfig, prepared: PreparedVisualApproval[], fence?: VisualApprovalFence): Map<PreparedVisualApproval, unknown>; //# sourceMappingURL=approve-publish.d.ts.map