-
Notifications
You must be signed in to change notification settings - Fork 30.3k
/
Copy pathHelper.d.ts
27 lines (23 loc) · 1.09 KB
/
Helper.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import * as Entities from "./handlers/entities";
import * as Information from "./Information";
import { PolylineExport } from "./toPolylines";
export default class Helper {
constructor(contents: string);
private _contents: string;
private _parsed: Information.FileInfo | null;
private _denormalised: Entities.Entity[] | null;
private _groups: Entities.LayerGroupedEntities | null;
contents: string;
parsed: Information.FileInfo | null;
denormalised: Entities.Entity[] | null;
groups: Entities.LayerGroupedEntities | null;
parse(): Information.FileInfo | null;
denormalise(): Entities.Entity[] | null;
group(): Entities.LayerGroupedEntities | null;
toSVG(): Information.SVG;
toPolylines(): PolylineExport;
}
export function parseValue(type: number, value: any): number;
export function convertToTypesAndValues(contentLines: string): Information.Property[];
export function separateSections(sections: Information.Section[]): Information.Section[];
export function reduceSection(acc: Information.Section[], section: Information.Section): Information.Section[];