import TokenStream from '../utils/token_stream';
import { IJavaScript } from '../utils/interfaces';
export default abstract class Expression implements IJavaScript {
    abstract toJavaScript(): string;
    /**
     * Method that attempts to parse the next token(s) into this expression.
     * @param tokenStream The TokenStream trying to parse.
     * @throws If the next token(s) cannot be parsed, an error is produced.
     */
    static parse(tokenStream: TokenStream): Expression;
    /**
     * Checks if the class can be parsed.
     * @param tokenStream The TokenStream trying to parse.
     */
    static canParse(tokenStream: TokenStream): boolean;
}
//# sourceMappingURL=expression.d.ts.map