import { SchematicContext } from '@angular-devkit/schematics';
import { Tree } from '@angular-devkit/schematics/src/tree/interface';
import { TapConfigSchema } from '@iotize/device-client.js/config/schema/v1';
import { Location } from '@schematics/angular/utility/parse-name';
import { TapAppGeneratorSchema } from '../schema/appconfig';
import { Project } from './project';
export declare class MissingAppConfigKey extends Error {
    constructor(key: string);
}
export declare function loadProject(tree: Tree, _context: SchematicContext): Project;
export declare function updateTapConfig(tree: Tree, cb: (data: TapConfigSchema) => TapConfigSchema): void;
export declare function updateAppConfig(tree: Tree, cb: (data: TapAppGeneratorSchema) => TapAppGeneratorSchema): void;
export declare function getTsPathConfigFromProject(tree: Tree, projectName?: string): string;
export declare function addRouteInConfig(route: any, tree: Tree): void;
export declare function writeJsonFile(tree: Tree, filepath: string, content: Object): void;
export declare function loadTapConfigFromFilePath(tapConfigFile: string): TapConfigSchema;
export declare function hasAngularProject(tree: Tree, _options: {
    project?: string;
}): boolean;
export declare function getDefaultAngularProject(tree: Tree): string;
export declare function getAngularConfig(tree: Tree): any;
export declare function getAngularProject(tree: Tree, _options: {
    project?: string;
}): any;
export declare function getAngularProjectPath(name: string, tree: Tree, _options: {
    project?: string;
}): Location;
