export class SchemaParser { constructor(opts: { entryPath: string; basePath: string; unPkgHost?: string; mode?: "normal" | "worker"; parseOptions?: { componentFramework?: "react" | "alipay-mini"; [key: string]: any; }; }) {} patch(filePaths: string[]): Promise; load(): Promise; parse(): Promise; $$destroyWorker(): Promise; } export class SchemaResolver { constructor(any, opts?: { mode?: "normal" | "worker" }) {} get componentList(): Promise; get components(): Promise>; get getComponent(id: string): any; get functionList(): Promise; get functions(): Promise>; get getFunction(id: string): any; $$destroyWorker(): Promise; }