import { Disposable } from 'common/Lifecycle'; import { IInstantiationService, IOptionsService, IBufferService, ILogService, ICharsetService, ICoreService, ICoreMouseService, IUnicodeService, IDirtyRowService, ITerminalOptions } from 'common/services/Services'; import { IDisposable, IAttributeData, ICoreTerminal, IScrollEvent, ScrollSource } from 'common/Types'; import { EventEmitter, IEvent } from 'common/EventEmitter'; import { IFunctionIdentifier, IParams } from 'common/parser/Types'; import { IBufferSet } from 'common/buffer/Types'; import { InputHandler } from 'common/InputHandler'; export declare abstract class CoreTerminal extends Disposable implements ICoreTerminal { protected readonly _instantiationService: IInstantiationService; protected readonly _bufferService: IBufferService; protected readonly _logService: ILogService; protected readonly _charsetService: ICharsetService; protected readonly _dirtyRowService: IDirtyRowService; readonly coreMouseService: ICoreMouseService; readonly coreService: ICoreService; readonly unicodeService: IUnicodeService; readonly optionsService: IOptionsService; protected _inputHandler: InputHandler; private _writeBuffer; private _windowsMode; private _onBinary; get onBinary(): IEvent; private _onData; get onData(): IEvent; protected _onLineFeed: EventEmitter; get onLineFeed(): IEvent; private _onResize; get onResize(): IEvent<{ cols: number; rows: number; }>; protected _onScroll: EventEmitter; get onWriteParsed(): IEvent; protected _onWriteParsed: EventEmitter; protected _onScrollApi?: EventEmitter; get onScroll(): IEvent; get cols(): number; get rows(): number; get buffers(): IBufferSet; get options(): ITerminalOptions; set options(options: ITerminalOptions); constructor(options: Partial); dispose(): void; write(data: string | Uint8Array, callback?: () => void): void; writeSync(data: string | Uint8Array, maxSubsequentCalls?: number): void; resize(x: number, y: number): void; scroll(eraseAttr: IAttributeData, isWrapped?: boolean): void; scrollLines(disp: number, suppressScrollEvent?: boolean, source?: ScrollSource): void; scrollPages(pageCount: number): void; scrollToTop(): void; scrollToBottom(): void; scrollToLine(line: number): void; registerEscHandler(id: IFunctionIdentifier, callback: () => boolean | Promise): IDisposable; registerDcsHandler(id: IFunctionIdentifier, callback: (data: string, param: IParams) => boolean | Promise): IDisposable; registerCsiHandler(id: IFunctionIdentifier, callback: (params: IParams) => boolean | Promise): IDisposable; registerOscHandler(ident: number, callback: (data: string) => boolean | Promise): IDisposable; protected _setup(): void; reset(): void; protected _updateOptions(key: string): void; protected _enableWindowsMode(): void; } //# sourceMappingURL=CoreTerminal.d.ts.map