import { workspaces } from "@angular-devkit/core"; import { Rule, SchematicContext } from "@angular-devkit/schematics"; import { Tree } from "@angular-devkit/schematics/src/tree/interface"; import { Observable } from "rxjs"; import { Schema } from "../lib/schema"; import { Schema as CreateSchematicsSchema } from "../lib/create-schematics/schema"; export declare function isFunction(val: any): boolean; export declare function isPromise(v: any): any; export declare function observify(asyncOrValue: any | T): Observable; export declare function toTree(ruleOrTree: Rule | any, tree: Tree, context: SchematicContext): Tree; export declare function createHost(tree: Tree): workspaces.WorkspaceHost; export declare function getLibPath(scopeWithName: string, isNx: boolean): string; export declare function splitScopeFromName(options: Schema | CreateSchematicsSchema): Schema | CreateSchematicsSchema;