import { Hookable } from 'hookable'; import { File } from './type'; import { Plugin, ComplierPluginParams } from './type'; export * from './file-system'; export * from './module'; export * from './type'; interface CompilerOptions { plugins?: Array; vueVersion?: 2 | 3; } export declare class Compiler { hooks: Hookable, string>; vueVersion: 2 | 3; constructor(options?: CompilerOptions); init(_plugins: Array): Promise; run(params: ComplierPluginParams): Promise; transform(files: File[], result: { errors: Error[]; }): Promise; }