import { KubernetesClient } from '../kubernetes/KubernetesClient.js'; import { ParsedManifestResource } from './HelmDataParser.js'; export interface HelmManifestResourceRef extends ParsedManifestResource { apiVersion?: string; labels: Record; annotations: Record; } export type HelmLiveResourceRef = Omit; export type HelmLiveResourceState = 'ready' | 'degraded' | 'missing' | 'unsupported' | 'unknown'; export interface HelmLiveResource { ref: HelmLiveResourceRef; state: HelmLiveResourceState; live?: { uid?: string; resourceVersion?: string; creationTimestamp?: unknown; labels?: Record; annotations?: Record; status?: Record; spec?: Record; }; pods?: HelmPodSummary[]; reason?: string; message?: string; } export interface HelmPodSummary { name: string; namespace?: string; phase?: string; ready: boolean; restarts: number; nodeName?: string; waitingReasons: string[]; terminatedReasons: string[]; } export interface HelmEventSummary { namespace?: string; timestamp?: unknown; type?: string; reason?: string; message?: string; count?: number; involvedObject: { kind?: string; name?: string; namespace?: string; }; } export interface HelmResourceHealth { overall: 'healthy' | 'degraded' | 'missing' | 'unknown'; total: number; supported: number; ready: number; degraded: number; missing: number; unsupported: number; unknown: number; warningEvents: number; } export declare function parseHelmManifestResourceRefs(manifestText: string, defaultNamespace?: string, filterType?: string): HelmManifestResourceRef[]; export declare function getHelmLiveResources(client: KubernetesClient, manifestText: string, defaultNamespace?: string, filterType?: string): Promise; export declare function getHelmResourceEvents(client: KubernetesClient, resources: HelmLiveResource[], eventLimit?: number): Promise; export declare function summarizeHelmResourceHealth(resources: HelmLiveResource[], events?: HelmEventSummary[]): HelmResourceHealth; //# sourceMappingURL=HelmLiveResources.d.ts.map