import StateMachineWS from "../../stateMachineWS.js";
import { ContextKind, Document, StateMachineFactoryFunction } from "../../types.js";
import { InlinerInterface, RSTLanguage, RstMemo, Rststatemachine } from "./types.js";
import StringList from "../../stringList.js";
/**
 * reStructuredText's master StateMachine.
 *
 * The entry point to reStructuredText parsing is the `run()` method.
 */
declare class RSTStateMachine extends StateMachineWS implements Rststatemachine {
    rstLanguage?: RSTLanguage;
    memo?: RstMemo;
    createNestedStateMachine?: StateMachineFactoryFunction<Rststatemachine>;
    createKnownIndentStateMachine?: StateMachineFactoryFunction<Rststatemachine>;
    createIndentStateMachine?: StateMachineFactoryFunction<Rststatemachine>;
    private inliner?;
    run(inputLines: StringList | string | string[], inputOffset: number, runContext?: ContextKind, inputSource?: {}, initialState?: string, document?: Document, matchTitles?: boolean, inliner?: InlinerInterface): (string | {})[];
}
export default RSTStateMachine;
