-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweb-codegen.service.d.ts
24 lines (24 loc) · 1.19 KB
/
web-codegen.service.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
/// <reference types="sketchapp" />
import { ImageService, SymbolService, LayerService } from '@xlayers/sketch-lib';
import { WebContextService } from './web-context.service';
import { WebParserService } from './web-parser.service';
import { WebAggregatorService } from './web-aggregator.service';
import { WebCodeGenOptions } from './web-codegen.d';
export declare class WebCodeGenService {
private readonly symbolService;
private readonly imageService;
private readonly webContext;
private readonly webParser;
private readonly webAggretatorService;
private readonly layerService;
constructor(symbolService: SymbolService, imageService: ImageService, webContext: WebContextService, webParser: WebParserService, webAggretatorService: WebAggregatorService, layerService: LayerService);
compute(current: SketchMSLayer, data: SketchMSData, options?: WebCodeGenOptions): void;
aggregate(current: SketchMSLayer, data: SketchMSData, options?: WebCodeGenOptions): any;
identify(current: SketchMSLayer): boolean;
context(current: SketchMSLayer): any;
private visit;
private visitContent;
private visitLayer;
private visitSymbolMaster;
private compileOptions;
}