UNPKG

678 BTypeScriptView Raw
1import type Spec from './Spec';
2export declare function parseStructuredHeaderH1(spec: Spec, header: Element): {
3 name: string | null;
4 formattedHeader: string | null;
5 formattedParams: string | null;
6 formattedReturnType: string | null;
7};
8export declare function parseStructuredHeaderDl(spec: Spec, type: string | null, dl: Element): {
9 description: Element | null;
10 for: Element | null;
11 effects: string[];
12};
13export declare function formatPreamble(spec: Spec, clause: Element, dl: Element, type: string | null, name: string, formattedParams: string, formattedReturnType: string | null, _for: Element | null, description: Element | null): Array<Element>;