/******************************************************************************** * 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 ********************************************************************************/ import type { Dispatch, MutableRefObject } from "react"; import { ScanState, ScanAction } from './scan-types'; /** * Hook to fetch filter options (validation types, threat scanners) on mount and refresh */ export declare const useFilterOptionsEffect: (service: any, state: ScanState, dispatch: Dispatch, handleErrorRef: MutableRefObject<(error: any) => void>) => void; /** * Hook to fetch scans from API (tabs 0, 1, 2: Scans, Quarantined, Auto Rejected) */ export declare const useScansEffect: (service: any, state: ScanState, dispatch: Dispatch, handleErrorRef: MutableRefObject<(error: any) => void>) => void; /** * Hook to fetch scan counts from API * Uses the same tab-aware filtering logic as the scans list */ export declare const useScanCountsEffect: (service: any, state: ScanState, dispatch: Dispatch, handleErrorRef: MutableRefObject<(error: any) => void>) => void; /** * Hook to fetch files from API (tabs 3, 4: Allowed Files, Blocked Files) */ export declare const useFilesEffect: (service: any, state: ScanState, dispatch: Dispatch, handleErrorRef: MutableRefObject<(error: any) => void>) => void; /** * Hook to fetch file counts from API */ export declare const useFileCountsEffect: (service: any, state: ScanState, dispatch: Dispatch, handleErrorRef: MutableRefObject<(error: any) => void>) => void; /** * Hook for periodic refresh - refreshes data every 30 seconds when enabled and page is visible */ export declare const useAutoRefreshEffect: (state: ScanState, dispatch: Dispatch) => void; //# sourceMappingURL=scan-api-effects.d.ts.map