| 123456789101112131415161718192021222324 |
- import { ToSwiftOptions } from './utils';
- import { UTSResult } from '@dcloudio/uts';
- export declare function runSwiftProd(filename: string, components: Record<string, string>, { isPlugin, isX, extApis, }: {
- isPlugin: boolean;
- isX: boolean;
- extApis?: Record<string, [string, string]>;
- }): Promise<void>;
- export type RunSwiftDevResult = UTSResult & {
- type: 'swift';
- code: number;
- msg: string;
- changed: string[];
- };
- interface RunSwiftDevOptions {
- components: Record<string, string>;
- isX: boolean;
- isPlugin: boolean;
- extApis?: Record<string, [string, string]>;
- }
- export declare function runSwiftDev(filename: string, { components, isX, isPlugin, extApis }: RunSwiftDevOptions): Promise<RunSwiftDevResult | undefined>;
- export declare function compile(filename: string, { inputDir, outputDir, sourceMap, components, isX, isPlugin, extApis, }: ToSwiftOptions): Promise<UTSResult | undefined>;
- export declare function resolveIOSDepFiles(filename: string): string[];
- export declare function checkIOSVersionTips(pluginId: string, pluginDir: string, is_uni_modules: boolean): string | undefined;
- export {};
|