import { Vector } from "prelude-ts"; import { AttributeDirectiveHandler, TagDirectiveHandler } from "./ng-directives"; import { NgFilter } from "./filters"; /** * @hidden */ export interface NgScope { readonly xpathDepth: number; readonly closeSource: () => string; readonly variables: string[]; } /** * @hidden */ export declare function requireDefined(x: T | undefined): T; export declare function collectionKeepDefined(l: Vector): Vector; export declare function listKeepDefined(l: Vector): Vector; /** * http://stackoverflow.com/a/16184477/516188 * @hidden */ export declare function normalizeTagAttrName(name: string): string; /** * @hidden */ export declare function parseView(resolveImportsAsNonScope: boolean, fileName: string, viewFragments: string[], importNames: string[], tagDirectiveHandlers: Vector, attrDirectiveHandlers: Vector, ngFilters: Vector): Promise;