/**
 * Represents a Kubernetes namespace name. A Kubernetes namespace name must
 * be a valid RFC-1123 DNS label.
 *
 * @include DNS_1123_LABEL
 */
export declare class NamespaceName {
    readonly name: string;
    private constructor();
    /**
     * Creates a namespace. A Kubernetes namespace name must be a valid RFC-1123 DNS label.
     *
     * @include DNS_1123_LABEL
     * @param name The name of the namespace.
     * @returns An instance of NamespaceName.
     * @throws NamespaceNameInvalidError if the namespace name is invalid.
     */
    static of(name: string): NamespaceName;
    /**
     * Returns true if the namespace name is valid.  A Kubernetes namespace name must be a valid RFC-1123 DNS label.
     *
     * @include DNS_1123_LABEL
     *
     * @returns true if the namespace name is valid.
     * @throws NamespaceNameInvalidError if the namespace name is invalid.
     */
    private isValid;
    /**
     * Compares this instance with another NamespaceName.
     * @param other The other NamespaceName instance.
     * @returns true if both instances have the same name.
     */
    equals(other: NamespaceName): boolean;
    /**
     * Allows implicit conversion to a string.
     * @returns The namespace name as a string.
     */
    toString(): string;
    /**
     * Allows `NamespaceName` to be used as a primitive string in operations.
     */
    [Symbol.toPrimitive](hint: string): string;
    /**
     * Returns the primitive value of the object.
     */
    valueOf(): string;
}
