UNPKG

358 BTypeScriptView Raw
1import { Token } from "./tokenizer/index";
2import { Scope } from "./tokenizer/state";
3export declare class File {
4 tokens: Array<Token>;
5 scopes: Array<Scope>;
6 constructor(tokens: Array<Token>, scopes: Array<Scope>);
7}
8export declare function parse(input: string, isJSXEnabled: boolean, isTypeScriptEnabled: boolean, isFlowEnabled: boolean): File;