import * as k8s from "@kubernetes/client-node";
import { K8sObjectResponse } from "./api";
/**
 * Create or replace a Kubernetes resource using the provided spec.
 * This implementation uses read, patch, and create, but may switch to
 * [server-side
 * apply](https://github.com/kubernetes/enhancements/issues/555) when
 * it is available.
 *
 * @param spec Kubernetes resource spec sufficient to identify and create the resource
 * @return response from the Kubernetes API.
 */
export declare function applySpec(spec: k8s.KubernetesObject): Promise<K8sObjectResponse>;
//# sourceMappingURL=apply.d.ts.map