import { TerminalDecorator, BaseTerminalTabComponent } from 'tabby-terminal'; export declare class TmuxRestoreDecorator extends TerminalDecorator { private stateManager; private connectedTabs; private activeRestores; private pendingTimer; private lastSaved; private titleGeneration; private tabKeyMap; constructor(); attach(tab: BaseTerminalTabComponent): void; detach(tab: BaseTerminalTabComponent): void; /** * Handle a title change: validate, persist session, set customTitle for * cross-restart persistence, and migrate state key if needed. * Returns the (potentially updated) state key. */ private handleTitleChange; /** * Core state update: save session, set customTitle, migrate state key if * customTitle changes the key. Handles multi-tab disambiguation. */ private updateStateFromSession; private onReconnect; private scheduleRestore; /** * State key: profile name + SSH host + customTitle (if set). * When customTitle contains a tmux session prefix, it disambiguates * multiple tabs to the same host. Without customTitle, falls back to * profileName::host (backwards compatible, single-tab behavior). */ private getStateKey; private getSSHHost; private setTimer; private cancelTimer; } //# sourceMappingURL=decorator.d.ts.map