/**
 * SPDX-License-Identifier: Apache-2.0
 */
import { type NamespaceName } from './namespace/namespace_name.js';
import { type ResourceName } from './resource_name.js';
export declare abstract class ResourceRef<T extends ResourceName> {
    readonly namespace: NamespaceName;
    readonly name: T;
    protected constructor(namespace: NamespaceName, name: T);
    /**
     * Compares this instance with another PodRef.
     * @param other The other PodRef instance.
     * @returns true if both instances have the same namespace name and pod name.
     */
    equals(other: ResourceRef<T>): boolean;
    /**
     * Allows implicit conversion to a string.
     * @returns The pod reference as a string.
     */
    toString(): string;
}
