/// import * as ts from "typescript"; import { Transform } from "stream"; /** * Parses the given file and extracts typescript AST as JSON * * @param file Path to the file * @param text The file content */ export declare function extract(file: string, text?: string, program?: ts.Program): any; /** * Creates a Transform object for eaxmple to be used in a gulp pipeline */ export declare function transform(options?: { concat?: string; map?: (input: any) => any; spacer?: number | string; }): Transform;