export default function commonjs(options?: {}): Promise<{ name: string; options(rawOptions: any): any; buildStart({ plugins }: { plugins: any; }): void; buildEnd(): void; load(id: any): string | Promise | { code: string; syntheticNamedExports: string; } | { code: string; meta: { commonjs: { isCommonJS: boolean; }; }; } | null; shouldTransformCachedModule(...args: any[]): any; transform(code: any, id: any): any; }>;