import { Resource } from '../../../common/types.js'; export declare type DeprecationType = 'deprecation' | 'removal'; export declare type Deprecation = { kinds: string[]; versions: string[]; recommended: string | null; link: string; type: DeprecationType; }; export declare type Deprecations = { version: string; rules: Deprecation[]; }; export declare type DeprecationError = { rule: Deprecation; kind: string; apiVersion: string; }; export declare type DeprecationMessage = { path: string; message: string; type: DeprecationType; }; export declare function validate(resource: Resource, clusterVersion: string): DeprecationMessage | null;