UNPKG

884 BTypeScriptView Raw
1import { Path } from '@angular-devkit/core';
2import { Tree } from '@angular-devkit/schematics';
3import { Observable } from 'rxjs';
4import { Credentials } from './wchtools';
5export declare function validateCredentials(aApiUrl: string, aCredentials: Credentials): Observable<string>;
6/**
7 * Tests if the API URL is valid and if we have sufficient credentials to access the API
8 *
9 * @param aUrl the API URL
10 * @return the url
11 */
12export declare function validateApiUrl(aUrl: string, bValidateWithCredentials: boolean): Observable<string>;
13export declare const WCHTOOLS_DEPENDENCIES = "wchtools-dependencies";
14export declare function findSdkVersion(host: Tree): Observable<string>;
15export declare function findDataDir(host: Tree): Path;
16export declare function findWchToolsOptions(host: Tree): Path;
17export declare function addToWchToolsDependencies(aDeps: string[], aPkg: any): void;