import { Kubectl } from './kubectl'; export type KubeObject = { apiVersion: string; kind: string; metadata: { name: string; namespace?: string; labels?: Record; annotations?: Record; ownerReferences?: unknown[]; [k: string]: unknown; }; spec?: { replicas?: number; [k: string]: unknown; }; [k: string]: unknown; }; export declare const PART_OF_LABEL = "app.kubernetes.io/part-of"; export declare const NAMESPACE_LABEL = "sail-proxy/namespace"; export declare const DEFAULT_NAMESPACE = "sail-proxy"; export declare const NAMESPACED_RESOURCES: string[]; export declare const MIGRATION_JOBS: string[]; export declare function allowlistPolicyName(objects: KubeObject[], ns: string): string | null; export declare function ownsIstioObject(obj: KubeObject, ns: string, allowlistName?: string | null): boolean; export declare function isInstallObject(obj: KubeObject, ns: string, allowlistName?: string | null): boolean; export declare const objectKey: (obj: KubeObject) => string; export declare function cleanObject(obj: KubeObject): KubeObject; export declare function readInstallObjects(kubectl: Kubectl, ns: string): Promise; export declare const isConflict: (error: unknown) => boolean; export declare const isInvalid: (error: unknown) => boolean; export declare function restoreObjects(kubectl: Kubectl, objects: KubeObject[], tmpDir: string, holdAtZero?: string[]): Promise; export declare function stopMigrationJobs(kubectl: Kubectl, ns: string, { timeoutSeconds, pollMs }?: { timeoutSeconds?: number | undefined; pollMs?: number | undefined; }): Promise; export declare function deleteNewObjects(kubectl: Kubectl, ns: string, snapshot: KubeObject[]): Promise; export declare function checkHealth(kubectl: Kubectl, ns: string, { timeoutSeconds, pollMs }?: { timeoutSeconds?: number | undefined; pollMs?: number | undefined; }): Promise; export declare function missingPermissions(kubectl: Kubectl, ns: string, concurrency?: number): Promise; export declare function workloadImage(kubectl: Kubectl, ns: string, kind: 'deployment' | 'statefulset', name: string): Promise; export declare function freeBytes(dir: string): Promise; //# sourceMappingURL=kymaCluster.d.ts.map