UNPKG

1.56 kBTypeScriptView Raw
1/// <reference types="node" />
2import { Projector } from '../projector';
3/**
4 * ProjectorWindows constructor.
5 *
6 * @param path Output path.
7 */
8export declare abstract class ProjectorWindows extends Projector {
9 /**
10 * Icon file.
11 */
12 iconFile: string | null;
13 /**
14 * Icon data.
15 */
16 iconData: Readonly<Buffer> | null;
17 /**
18 * Version strings.
19 */
20 versionStrings: Readonly<{
21 [key: string]: string;
22 }> | null;
23 constructor(path: string);
24 /**
25 * Projector file extension.
26 *
27 * @returns File extension.
28 */
29 get extension(): string;
30 /**
31 * Config file newline characters.
32 *
33 * @returns Newline characters.
34 */
35 get configNewline(): string;
36 /**
37 * Lingo file newline characters.
38 *
39 * @returns Newline characters.
40 */
41 get lingoNewline(): string;
42 /**
43 * Splash image file extension.
44 *
45 * @returns File extension.
46 */
47 get splashImageExtension(): string;
48 /**
49 * Get the SKL name.
50 *
51 * @returns File name.
52 */
53 get sklName(): string;
54 /**
55 * Get icon data if any specified, from data or file.
56 *
57 * @returns Icon data or null.
58 */
59 getIconData(): Promise<Buffer | Readonly<Buffer> | null>;
60 /**
61 * Write the projector skeleton from archive.
62 *
63 * @param skeleton Skeleton path.
64 */
65 protected _writeSkeleton(skeleton: string): Promise<void>;
66 /**
67 * Modify the projector skeleton.
68 */
69 protected _modifySkeleton(): Promise<void>;
70}