import { QcscError } from "./error"; export interface IQCSCCompileConfig { cmd: string[]; FILESBASE: string; FILES: string[]; } export interface ICMD { cache: boolean; cp: boolean; db: boolean; js: boolean; lc: boolean; o: boolean; om: boolean; pc: number; s: boolean; sd: boolean; st: boolean; subpackage: string; } export interface IChildNode { import: { start: { line: number; column: number; }; end: { line: number; column: number; }; raws: string; }; index: number; path: string; fileIndex: number; } export interface IParentNode { index: number; path: string; } export interface ITemplate { path: string; content: string; children: IChildNode[]; parents: IParentNode[]; setCssToHeadRefers: IParentNode[]; out: string; file: Array; xcInvalid: string; key: string; comm: { needComm: boolean; commIndex: number; }; needSetCssToHead: boolean; } export interface IOutMap { [key: string]: string; } export declare class QCSC { cmd: ICMD; templates: ITemplate[]; outString: string; outMap: IOutMap; version: string; comm: string; qcscError: QcscError | undefined; appWxssTemplateIndex: number; appWxssPath: string; subpackageAppWxssTemplateIndex: number; subpackageAppWxssPath: string; private compileConfig; setCssFunName: string; constructor(compileConfig: IQCSCCompileConfig, setCssFunName: string); compile(): Promise; private parseCmd; }