/******************************************************************************** * 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 ********************************************************************************/ /** * Tab definitions for the Scans Admin page. */ export declare const TAB_DEFINITIONS: readonly [{ readonly index: 0; readonly name: "Scans"; readonly path: "scans"; }, { readonly index: 1; readonly name: "Quarantined"; readonly path: "quarantined"; }, { readonly index: 2; readonly name: "Auto Rejected"; readonly path: "auto-rejected"; }, { readonly index: 3; readonly name: "Allowed Files"; readonly path: "allowed-files"; }, { readonly index: 4; readonly name: "Blocked Files"; readonly path: "blocked-files"; }]; export type TabIndex = 0 | 1 | 2 | 3 | 4; export type TabName = typeof TAB_DEFINITIONS[number]['name']; /** * Hook for managing tab navigation state and actions. */ export declare const useTabNavigation: () => { selectedTab: number; currentTab: { readonly index: 0; readonly name: "Scans"; readonly path: "scans"; } | { readonly index: 1; readonly name: "Quarantined"; readonly path: "quarantined"; } | { readonly index: 2; readonly name: "Auto Rejected"; readonly path: "auto-rejected"; } | { readonly index: 3; readonly name: "Allowed Files"; readonly path: "allowed-files"; } | { readonly index: 4; readonly name: "Blocked Files"; readonly path: "blocked-files"; }; tabs: readonly [{ readonly index: 0; readonly name: "Scans"; readonly path: "scans"; }, { readonly index: 1; readonly name: "Quarantined"; readonly path: "quarantined"; }, { readonly index: 2; readonly name: "Auto Rejected"; readonly path: "auto-rejected"; }, { readonly index: 3; readonly name: "Allowed Files"; readonly path: "allowed-files"; }, { readonly index: 4; readonly name: "Blocked Files"; readonly path: "blocked-files"; }]; setTab: (tab: number) => void; isScansTab: boolean; isQuarantinedTab: boolean; isAutoRejectedTab: boolean; isAllowListTab: boolean; isBlockListTab: boolean; isScanDataTab: boolean; isFileDataTab: boolean; }; export type UseTabNavigationReturn = ReturnType; //# sourceMappingURL=use-tab-navigation.d.ts.map