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