import { Resource } from '../../common/types.js'; import { RefMapper, SiblingMatcher } from './mappers.js'; export declare const ConfigMapTarget: { target: { kind: string; }; }; export declare const SecretTarget: { target: { kind: string; }; }; export declare const ServiceAccountTarget: { target: { kind: string; }; }; export declare const PersistentVolumeClaimTarget: { target: { kind: string; }; }; /** * Matcher that ensures the source and target namespace are the same */ export declare function implicitNamespaceMatcher(sourceResource: Resource, targetResource: Resource): boolean; /** * Matcher the ensures that the target resource has an optionally specified namespace */ export declare const optionalExplicitNamespaceMatcher: SiblingMatcher; /** * Matcher the ensures that the target resource has the specified namespace */ export declare const explicitNamespaceMatcher: SiblingMatcher; /** * Matcher the ensures that the target resource has the specified kind */ export declare const targetKindMatcher: SiblingMatcher; /** * Matcher the ensures that the target resource has the specified apiGroup - uses an optional defaultGroup configuration * property if no group is found */ export declare const targetGroupMatcher: SiblingMatcher; export declare function createPodSelectorOutgoingRefMappers(selectorPathParts?: string[]): RefMapper[]; export declare function createSelectorOutgoingRefMappers(targetResourceKind: string, selectorPathParts?: string[]): RefMapper;