import { ResourceName } from '../resource-name.js';
/**
 * Represents a Kubernetes service name. A Kubernetes service name must be a valid RFC-1123 DNS label.
 *
 * @include DNS_1123_LABEL
 */
export declare class ServiceName extends ResourceName {
    private constructor();
    /**
     * Creates a service. A Kubernetes service name must be a valid RFC-1123 DNS label.
     *
     * @include DNS_1123_LABEL
     *
     * @param name The name of the service.
     * @returns An instance of ServiceName.
     * @throws InvalidResourceNameError if the service name is invalid.
     */
    static of(name: string): ServiceName;
}
