import type { BiblioEntry } from './Biblio'; import Spec from './Spec'; import { CancellationToken } from 'prex'; export type { Spec, BiblioEntry }; export declare class Boilerplate { address?: string; copyright?: string; license?: string; } export declare type EcmarkupError = { ruleId: string; message: string; file?: string; source?: string; line?: number; column?: number; nodeType?: string; }; export interface Options { status?: 'proposal' | 'draft' | 'standard'; version?: string; title?: string; shortname?: string; stage?: string | null; copyright?: boolean; date?: Date; location?: string; multipage?: boolean; contributors?: string; toc?: boolean; oldToc?: boolean; lintSpec?: boolean; cssOut?: string; jsOut?: string; assets?: 'none' | 'inline' | 'external'; outfile?: string; boilerplate?: Boilerplate; ecma262Biblio?: boolean; log?: (msg: string) => void; warn?: (err: EcmarkupError) => void; } export declare function build(path: string, fetch: (path: string, token: CancellationToken) => PromiseLike, opts?: Options, token?: CancellationToken): Promise;