1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | export declare function extract(contents: string): string;
|
8 |
|
9 | export declare function parse(docblock: string): Pragmas;
|
10 |
|
11 | export declare function parseWithComments(docblock: string): {
|
12 | comments: string;
|
13 | pragmas: Pragmas;
|
14 | };
|
15 |
|
16 | declare type Pragmas = Record<string, string | Array<string>>;
|
17 |
|
18 | declare function print_2({
|
19 | comments,
|
20 | pragmas,
|
21 | }: {
|
22 | comments?: string;
|
23 | pragmas?: Pragmas;
|
24 | }): string;
|
25 | export {print_2 as print};
|
26 |
|
27 | export declare function strip(contents: string): string;
|
28 |
|
29 | export {};
|