import { Rule, Tree } from '@angular-devkit/schematics'; import * as ts from 'typescript'; import { InsertChange } from '../../utils'; import { WorkspaceDefinition } from '../../utils/angular/workspace'; import { GenerateLibSchema } from './models/generate-lib-schema'; export default function (schema: GenerateLibSchema): (tree: Tree) => Promise; export declare function addLibToWorkspaceIfNotExist(options: GenerateLibSchema, packagesDir: string): Rule; export declare function updateTsConfig(packageName: string, path: string): (host: Tree) => import("@angular-devkit/schematics/src/tree/interface").Tree | undefined; export declare function createLibSecondaryEntry(tree: Tree, options: GenerateLibSchema): Promise; export declare function createLibSecondaryEntryWithStandaloneTemplate(tree: Tree, options: GenerateLibSchema): Promise; export declare function importConfigModuleToDefaultProjectAppModule(packageName: string, options: GenerateLibSchema): (tree: Tree) => Promise; export declare function addRoutingToAppRoutingModule(workspace: WorkspaceDefinition, packageName: string, options: GenerateLibSchema): Rule; export declare function addRouteToRoutesArray(source: ts.SourceFile, routeToAdd: string): InsertChange | null;