1 | export declare enum CssUrl {
|
2 | inline = "inline",
|
3 | none = "none"
|
4 | }
|
5 | export declare class StylesheetProcessor {
|
6 | private readonly projectBasePath;
|
7 | private readonly basePath;
|
8 | private readonly cssUrl?;
|
9 | private readonly includePaths?;
|
10 | private readonly cacheDirectory?;
|
11 | private renderWorker;
|
12 | constructor(projectBasePath: string, basePath: string, cssUrl?: CssUrl, includePaths?: string[], cacheDirectory?: string | false);
|
13 | process({ filePath, content }: {
|
14 | filePath: string;
|
15 | content: string;
|
16 | }): Promise<string>;
|
17 | /** Destory workers in pool. */
|
18 | destroy(): void;
|
19 | private createRenderWorker;
|
20 | }
|