import { Tree, SchematicContext, Source, Rule } from '@angular-devkit/schematics';
import { Observable } from 'rxjs';
export declare function applyWithOverwriteRule(source: Source, rules: Rule[], overwrite?: boolean): Rule;
export declare function overwriteAllRule(tree: Tree): Rule;
export declare function applyRule(source: Source, templateData: Record<string, any>, url?: string): (tree: import("@angular-devkit/schematics/src/tree/interface").Tree, _context: import("@angular-devkit/schematics").TypedSchematicContext<{}, {}>) => void | import("@angular-devkit/schematics/src/tree/interface").Tree | Rule | Observable<import("@angular-devkit/schematics/src/tree/interface").Tree>;
export declare function toPromiseRule(cb: (tree: Tree, context: SchematicContext) => Promise<void>): (tree: import("@angular-devkit/schematics/src/tree/interface").Tree, context: import("@angular-devkit/schematics").TypedSchematicContext<{}, {}>) => any;
