import * as parser from '@babel/parser';
import * as t from '@babel/types';
import type { IPluginContext } from '@tarojs/service';
export declare function updateConfig(options: {
    ctx: IPluginContext;
    compilerType: 'webpack5' | 'vite';
}): Promise<void>;
export declare function processViteConfig(ast: parser.ParseResult<t.File>): void;
