import { Binding } from "../types"; import { KubernetesObject } from "kubernetes-fluent-client"; import { AdmissionRequest } from "../common-types"; /** * shouldSkipRequest determines if an admission request should be skipped based on the binding filters. * * @param binding the action binding * @param req the incoming request * @param capabilityNamespaces the namespaces allowed by capability * @param ignoredNamespaces the namespaces ignored by module config * @returns */ export declare function shouldSkipRequest(binding: Binding, req: AdmissionRequest, capabilityNamespaces: string[], ignoredNamespaces?: string[]): string; /** * filterNoMatchReason determines whether a callback should be skipped after * receiving an update event from the API server, based on the binding filters. * * @param binding the action binding * @param kubernetesObject the incoming kubernetes object * @param capabilityNamespaces the namespaces allowed by capability * @param ignoredNamespaces the namespaces ignored by module config */ export declare function filterNoMatchReason(binding: Binding, obj: Partial, capabilityNamespaces: string[], ignoredNamespaces?: string[]): string; //# sourceMappingURL=filter.d.ts.map