import { Injector } from '@angular/core';
import { GetRecoveryTokenOptions, Platform, RecoveryToken } from 'tabby-core';
import { BaseTerminalTabComponent, Reconnectable } from 'tabby-terminal';
import { TelnetProfile, TelnetSession } from '../session';
/** @hidden */
export declare class TelnetTabComponent extends BaseTerminalTabComponent<TelnetProfile> implements Reconnectable {
    Platform: typeof Platform;
    session: TelnetSession | null;
    private reconnectOffered;
    constructor(injector: Injector);
    ngOnInit(): void;
    protected onFrontendReady(): void;
    protected attachSessionHandlers(): void;
    initializeSession(): Promise<void>;
    getRecoveryToken(options?: GetRecoveryTokenOptions): Promise<RecoveryToken>;
    reconnect(): Promise<void>;
    canClose(): Promise<boolean>;
    protected isSessionExplicitlyTerminated(): boolean;
}
