UNPKG

1.09 kBTypeScriptView Raw
1import { CommandLineOptions, IConfig, ILogger, IShell, IShellRunOptions, NpmClient } from '../definitions';
2import { FatalException } from './errors';
3export declare const SUPPORTED_PLATFORMS: readonly string[];
4export interface CordovaResSchema {
5 platform?: string;
6}
7export declare function createCordovaResArgs({ platform }: CordovaResSchema, options: CommandLineOptions): string[];
8export interface RunCordovaResDeps {
9 readonly config: IConfig;
10 readonly log: ILogger;
11 readonly shell: IShell;
12}
13export declare function runCordovaRes({ config, log, shell }: RunCordovaResDeps, args: readonly string[], options?: IShellRunOptions): Promise<void>;
14export interface CheckCordovaResDeps {
15 readonly config: IConfig;
16}
17export declare function checkCordovaRes({ config }: CheckCordovaResDeps): Promise<void>;
18export declare function findCordovaRes(): Promise<string | undefined>;
19export declare function createCordovaResNotFoundError(npmClient: NpmClient): Promise<FatalException>;
20export declare function createCordovaResNotFoundMessage(npmClient: NpmClient): Promise<string>;