import * as PP from "./preprocessor"; import { ExecutionOptions } from "./interpreter"; import * as LexerParser from "./LexerParser"; import * as _lexer from "./lexer"; export { _lexer as lexer }; import * as BrsTypes from "./brsTypes"; export { BrsTypes as types }; export { PP as preprocessor }; import * as _parser from "./parser"; export { _parser as parser }; /** * Executes a BrightScript file by path and writes its output to the streams * provided in `options`. * * @param filename the absolute path to the `.brs` file to be executed * @param options configuration for the execution, including the streams to use for `stdout` and * `stderr` and the base directory for path resolution * * @returns a `Promise` that will be resolve if `filename` is successfully * executed, or be rejected if an error occurs. */ export declare function execute(filenames: string[], options: Partial): Promise; /** * A synchronous version of the lexer-parser flow. * * @param filename the paths to BrightScript files to lex and parse synchronously * @param options configuration for the execution, including the streams to use for `stdout` and * `stderr` and the base directory for path resolution * * @returns the AST produced from lexing and parsing the provided files */ export declare function lexParseSync(filenames: string[], options: Partial): _parser.Stmt.Statement[]; /** * Launches an interactive read-execute-print loop, which reads input from * `stdin` and executes it. * * **NOTE:** Currently limited to single-line inputs :( */ export declare function repl(): void;