import yaml from 'js-yaml'; /** * Load a Kubernetes object from YAML. * @param data - The YAML string to load. * @param opts - Optional YAML load options. * @returns The deserialized Kubernetes object. */ export declare function loadYaml(data: string, opts?: yaml.LoadOptions): T; /** * Load all Kubernetes objects from YAML. * @param data - The YAML string to load. * @param opts - Optional YAML load options. * @returns An array of deserialized Kubernetes objects. */ export declare function loadAllYaml(data: string, opts?: yaml.LoadOptions): any[]; /** * Dump a Kubernetes object to YAML. * @param object - The Kubernetes object to dump. * @param opts - Optional YAML dump options. * @returns The YAML string representation of the serialized Kubernetes object. */ export declare function dumpYaml(object: any, opts?: yaml.DumpOptions): string;