import { Generator } from '../../generator/generator.ts'; import { PackageOpts } from '../../options.ts'; export type SectionKind = "part" | "chapter" | "section" | "subsection" | "subsubsection" | "paragraph" | "subparagraph"; export declare class Base { g: Generator; protected readonly options: PackageOpts; private titleFn; private authorFn; private dateFn; private maketitleFn; constructor(generator: Generator, options?: PackageOpts); contentsname(): string[]; listfigurename(): string[]; listtablename(): string[]; partname(): string[]; figurename(): string[]; tablename(): string[]; appendixname(): string[]; indexname(): string[]; /** * \@startsection: called twice by each sectioning macro. First before its arguments are parsed * (toc and ttl are undefined), to step the counter and set \@currentlabel, so that a \label in the * title already refers to the new section; then with the arguments, to create the heading. * * @param sec the sectioning level/counter * @param level the numeric level, compared to secnumdepth * @param star true if the section should not be numbered * @param toc the title for the table of contents * @param ttl the title */ protected _startsection(sec: SectionKind, level: number, star: boolean, toc?: unknown, ttl?: unknown): unknown; protected _numberedHeading(sec: SectionKind, ttl: unknown): unknown[]; part(s: any, toc: any, ttl: any): unknown[]; section(s: any, toc: any, ttl: any): unknown[]; subsection(s: any, toc: any, ttl: any): unknown[]; subsubsection(s: any, toc: any, ttl: any): unknown[]; paragraph(s: any, toc: any, ttl: any): unknown[]; subparagraph(s: any, toc: any, ttl: any): unknown[]; thepart(): string[]; thesection(): string[]; thesubsection(): string[]; thesubsubsection(): string[]; theparagraph(): string[]; thesubparagraph(): string[]; maketitle(): unknown[]; }