import { CacheInspector } from './integrations/cache_inspector.js'; import type { ApplicationService } from '@adonisjs/core/types'; import type { QueueInspectorContract } from './integrations/queue_inspector_contract.js'; /** * Manages lazy initialization and availability detection for * cache (Redis) and queue (BullMQ / @adonisjs/queue) inspectors. * * Extracted from DashboardController to reduce file size and complexity. */ export declare class InspectorManager { private app; private cacheInspector; private queueInspector; private cacheAvailable; private queueAvailable; constructor(app: ApplicationService); /** Lazy-init the cache inspector. Returns null if Redis is unavailable. */ getCacheInspector(): Promise; /** Lazy-init the queue inspector. Returns null if neither BullMQ nor @adonisjs/queue is available. */ getQueueInspector(): Promise; /** Fetch cache overview stats for the overview page. */ fetchCacheOverview(): Promise<{ available: boolean; totalKeys: number; hitRate: number; memoryUsedHuman: string; } | null>; /** Fetch queue overview stats for the overview page. */ fetchQueueOverview(): Promise<{ available: boolean; active: number; waiting: number; failed: number; completed: number; } | null>; }