import './transfers.component.scss'; import { NgbModal } from '@ng-bootstrap/ng-bootstrap'; import { SidebarPlusTransfersService, TransferEntry } from '../transfersRegistry.service'; /** * The transfer list, at the bottom of the sidebar. * * Deliberately compact — one line per transfer, no progress bar: the SFTP * design settled on a sober row (state, percentage, speed) back on 2026-07-29, * and the user asked for entries small enough to fit more of them in the same * space. The list scrolls past its cap rather than growing into the tree. * * Hidden entirely when there is nothing to show, like the active sessions and * tunnels blocks above it. */ export declare class SidebarPlusTransfersComponent { transfers: SidebarPlusTransfersService; private ngbModal; collapsed: boolean; constructor(transfers: SidebarPlusTransfersService, ngbModal: NgbModal); toggle(event: MouseEvent): void; /** * Asks before removing a still-running line, because removing one cancels * it (see `SidebarPlusTransfersService.remove()`). A finished/cancelled/ * failed line has nothing left to lose, so it is removed outright — same * split as `clear()` below. */ remove(entry: TransferEntry, event: MouseEvent): Promise; /** * Asks before clearing when something is still running, because clearing * cancels it. With nothing active there is nothing to lose, so no question. */ clear(event: MouseEvent): Promise; trackById(_index: number, entry: TransferEntry): number; }