import { Entity, LocationEntityV1alpha1 } from '@backstage/catalog-model';
import { LocationSpec } from '@backstage/plugin-catalog-common';
/**
 * A standard way of producing a machine generated name for a location.
 *
 * @public
 */
export declare function locationSpecToMetadataName(location: LocationSpec): string;
/**
 * A standard way of producing a machine generated Location kind entity for a
 * location.
 *
 * @public
 */
export declare function locationSpecToLocationEntity(opts: {
    location: LocationSpec;
    parentEntity?: Entity;
}): LocationEntityV1alpha1;
