/******************************************************************************** * Copyright (c) 2026 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * https://www.eclipse.org/legal/epl-2.0 * * SPDX-License-Identifier: EPL-2.0 ********************************************************************************/ /** * Hook for the Quarantined tab (tab index 1). * Provides quarantined scan data, selection management, and bulk actions. */ export declare const useQuarantinedTab: () => { tabIndex: number; tabName: string; scans: import("../../context/scan-admin").ScanResult[]; isLoading: boolean; lastRefreshed: Date | null; autoRefresh: boolean; onAutoRefreshChange: (enabled: boolean) => void; totalCount: number; hasThreatScanners: boolean; search: { publisherQuery: string; namespaceQuery: string; nameQuery: string; setPublisherQuery: (query: string) => void; setNamespaceQuery: (query: string) => void; setNameQuery: (query: string) => void; handlePublisherChange: (event: import("react").ChangeEvent) => void; handleNamespaceChange: (event: import("react").ChangeEvent) => void; handleNameChange: (event: import("react").ChangeEvent) => void; clearSearch: () => void; hasActiveSearch: boolean; }; globalFilters: { dateRange: import("../../context/scan-admin").DateRangeType; enforcement: import("../../context/scan-admin").EnforcementType; setDateRange: (range: import("../../context/scan-admin").DateRangeType) => void; setEnforcement: (enforcement: import("../../context/scan-admin").EnforcementType) => void; }; quarantineFilters: { filters: Set; toggle: (filter: string) => void; threatScannerFilters: Set; toggleThreatScanner: (scanner: string) => void; availableThreatScanners: string[]; menuAnchor: HTMLElement | null; openMenu: (event: import("react").MouseEvent) => void; closeMenu: () => void; }; pagination: { currentPage: number; pageSize: number; totalPages: number; totalItems: number; isLoading: boolean; goToPage: (page: number) => void; goToNextPage: () => void; goToPreviousPage: () => void; goToFirstPage: () => void; goToLastPage: () => void; hasNextPage: boolean; hasPreviousPage: boolean; isFirstPage: boolean; isLastPage: boolean; startItem: number; endItem: number; }; selection: { checked: Record; selectedCount: number; selectedExtensions: import("../../context/scan-admin").ScanResult[]; }; toggleCheck: (id: string, checked: boolean) => void; selectAll: () => void; deselectAll: () => void; isAllSelected: boolean; isSomeSelected: boolean; bulkActions: { openAllowDialog: () => void; openBlockDialog: () => void; canPerformBulkAction: boolean; }; }; export type UseQuarantinedTabReturn = ReturnType; //# sourceMappingURL=use-quarantined-tab.d.ts.map