import { Rule, SchematicContext, Source, Tree } from '@angular-devkit/schematics';
import { Options as CodeFormatOptions } from 'prettier';
export declare function codeFormatRule(tree: Tree, formatOptions?: CodeFormatOptions, overwrite?: boolean): Rule;
export declare function applyWithOverwriteRule(source: Source, rules: Rule[], options?: {
    overwrite?: boolean;
    ignoreIfExists?: boolean;
    format?: boolean | CodeFormatOptions;
}): Rule;
export declare function skipFileRule(tree: Tree, _context: SchematicContext): Rule;
export declare function overwriteAllRule(tree: Tree, overwrite?: boolean, ignoreIfExists?: boolean): Rule;
export declare function applyRule(source: Source, templateData: Record<string, any>, url?: string): Rule;
export declare function toPromiseRule(cb: (tree: Tree, context: SchematicContext) => Promise<void | Rule>): Rule;
