import { BaseTabComponent } from 'tabby-core'; import { QuickCmds, ICmdGroup, SSHProfileOption } from './api'; export interface RuntimeSSHContext { profileId: string | null; isSSH: boolean; } export declare function getFocusedTab(tab: BaseTabComponent | null): BaseTabComponent | null; export declare function getRuntimeSSHContext(tab: BaseTabComponent | null): RuntimeSSHContext; export declare function scopedToCurrentProfile(profileIds: string[] | undefined, context: RuntimeSSHContext): boolean; export declare function commandVisibleForContext(command: QuickCmds, groups: ICmdGroup[], context: RuntimeSSHContext): boolean; export declare function profileLabel(profile: SSHProfileOption): string;