| 12345678910111213141516171819202122 |
- import { generateCodeFrameWithKotlinStacktrace, generateCodeFrameWithSwiftStacktrace } from './legacy';
- export declare const sourcemap: {
- generateCodeFrameWithKotlinStacktrace: typeof generateCodeFrameWithKotlinStacktrace;
- generateCodeFrameWithSwiftStacktrace: typeof generateCodeFrameWithSwiftStacktrace;
- };
- export { compileApp } from './uvue/index';
- export * from './sourceMap';
- export { compile as toKotlin } from './kotlin';
- export { compile as toSwift } from './swift';
- export interface CompileResult {
- code: string;
- deps: string[];
- encrypt: boolean;
- meta?: any;
- dir: string;
- }
- interface CompilerOptions {
- isX: boolean;
- isPlugin: boolean;
- extApis?: Record<string, [string, string]>;
- }
- export declare function compile(pluginDir: string, { isX, isPlugin, extApis }?: CompilerOptions): Promise<CompileResult | void>;
|