import { Observable } from "../../util/observe"; import { ArithmeticType, SuccessParsingResult } from "./types"; export declare enum IOState { good = 0, bad = 1, eof = 2, fail = 4, bad_eof = 3, bad_fail = 5, eof_fail = 6, bad_eof_fail = 7 } declare type StandardInputStreamMessages = "bufferUpdated" | "iostateUpdated"; export declare class StandardInputStream { readonly observable: Observable; readonly trimws: boolean; readonly buffer: string; private iostate; reset(): this; clearBuffer(): void; addToBuffer(s: string): this; private updateBuffer; skipws(): void; extractAndParseFromBuffer(type: ArithmeticType): SuccessParsingResult | undefined; extractCharFromBuffer(): string; extractIntFromBuffer(): string; extractDoubleFromBuffer(): string; extractWordFromBuffer(): string; extractLineFromBuffer(): string; rdstate(): IOState; setstate(state: IOState): void; clear(state?: IOState): void; good(): boolean; fail(): boolean; eof(): boolean; bad(): boolean; } export {};