import { LexRules as LexRulesType, ParseRules as ParseRulesType } from './Rules'; import CharacterStream from './CharacterStream'; import { State } from './types'; export declare type ParserOptions = { eatWhitespace: (stream: CharacterStream) => boolean; lexRules: Partial; parseRules: typeof ParseRulesType; editorConfig: { [name: string]: any; }; }; export default function onlineParser(options?: ParserOptions): { startState: () => State; token: (stream: CharacterStream, state: State) => string; }; //# sourceMappingURL=onlineParser.d.ts.map