UNPKG

@rr0/cms

Version:

RR0 Content Management System (CMS)

17 lines (16 loc) 483 B
import { HtmlSsgContext } from "ssg-api"; import { ReferenceGenerator } from "./ReferenceGenerator.js"; export declare abstract class PerFileCounter<C extends HtmlSsgContext> implements ReferenceGenerator<C> { /** * Source counter in the scope of the current page/context. */ protected number: number; /** * The current/previous page * * @protected */ protected fileName: string; get value(): string; next(context: C): string; }