UNPKG

439 BTypeScriptView Raw
1import type Spec from './Spec';
2import type { Context } from './Context';
3import Builder from './Builder';
4export default class Figure extends Builder {
5 type: string;
6 number: number;
7 id: string | null;
8 isInformative: boolean;
9 captionElem: HTMLElement | null;
10 caption: string;
11 static elements: string[];
12 constructor(spec: Spec, node: HTMLElement);
13 static enter({ spec, node }: Context): Promise<void>;
14}