import { Kubectl, KubectlRead } from './kubectl'; import { freeBytes } from './kymaCluster'; import { KitScripts, ImageTarget, PromptOne } from './kymaRender'; import { UpgradePolicy } from './kit'; export declare class Refusal extends Error { registry: boolean; constructor(message: string, opts?: { registry?: boolean; }); } export declare const isSemver: (v: string) => boolean; export declare function checkVersions(from: string, tag: string, policy: UpgradePolicy, testMode: boolean): void; export type Installation = { from: string; replicas: { gateway: number; admin: number; }; }; export declare function readInstallation(o: { kubectl: Kubectl; read: KubectlRead; kit: KitScripts; ns: string; policy: UpgradePolicy; target: ImageTarget; testMode: boolean; prompt: PromptOne; }): Promise; export declare function backupSpaceNeeded(dbBytes: number): number; export declare function preflight(o: { kubectl: Kubectl; read?: KubectlRead; kit: KitScripts; ns: string; backupDir: string; containerConfig: { registry: string; organization: string; tag: string; }; lookupDigest: (config: unknown, image: string, tag: string) => Promise; statfs: (dir: string) => Promise; outputDir: string; manifestsDir: string; log: (m: string) => void; }): Promise; export declare const defaultStatfs: typeof freeBytes; //# sourceMappingURL=kymaChecks.d.ts.map