import * as angular from '@angular/compiler';
import Source from './source.js';
import type { LocationInformation, NGNode } from './types.js';
declare class Transformer extends Source {
    #private;
    constructor(ast: angular.AST | undefined, text: string);
    get node(): NGNode & LocationInformation;
    transformNode<T extends NGNode>(node: angular.AST): T & LocationInformation;
}
declare function transform(node: angular.AST, text: string): NGNode;
export { transform, Transformer };
