import { IInstantiationService, IOptionsService, IBufferService, ILogService, ICharsetService, ICoreService, ICoreMouseService, IUnicodeService, ITerminalOptions, IOscLinkService } from 'common/services/Services'; import { IDisposable, IAttributeData, ICoreTerminal, IScrollEvent } from 'common/Types'; import { IFunctionIdentifier, IParams } from 'common/parser/Types'; import { IBufferSet } from 'common/buffer/Types'; import { InputHandler } from 'common/InputHandler'; import { Emitter, Event } from 'vs/base/common/event'; import { Disposable } from 'vs/base/common/lifecycle'; 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 _oscLinkService: IOscLinkService; readonly coreMouseService: ICoreMouseService; readonly coreService: ICoreService; readonly unicodeService: IUnicodeService; readonly optionsService: IOptionsService; protected _inputHandler: InputHandler; private _writeBuffer; private _windowsWrappingHeuristics; private readonly _onBinary; readonly onBinary: Event; private readonly _onData; readonly onData: Event; protected _onLineFeed: Emitter; readonly onLineFeed: Event; private readonly _onResize; readonly onResize: Event<{ cols: number; rows: number; }>; protected readonly _onWriteParsed: Emitter; readonly onWriteParsed: Event; protected _onScrollApi?: Emitter; protected _onScroll: Emitter; get onScroll(): Event; get cols(): number; get rows(): number; get buffers(): IBufferSet; get options(): Required; set options(options: ITerminalOptions); constructor(options: Partial); write(data: string | Uint8Array, callback?: () => void): void; writeSync(data: string | Uint8Array, maxSubsequentCalls?: number): void; input(data: string, wasUserInput?: boolean): void; resize(x: number, y: number): void; scroll(eraseAttr?: IAttributeData, isWrapped?: boolean): void; scrollLines(disp: number, suppressScrollEvent?: boolean): void; scrollPages(pageCount: number): void; scrollToTop(): void; scrollToBottom(disableSmoothScroll?: boolean): 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; private _handleWindowsPtyOptionChange; protected _enableWindowsWrappingHeuristics(): void; } //# sourceMappingURL=CoreTerminal.d.ts.map