/** Input to [[labelName]]. */ export interface Labels { /** Project environment, e.g., "staging" or "production". */ environment: string; /** Project purpose, e.g., "general" or "skill". */ purpose: string; /** Project user, e.g., "internal" or "customer". */ user: string; /** Maximum length of string to return. */ length?: number; /** Resource prefix to prepend to string. */ resource?: string; } /** * Create valid Atomist GCP resource labels from `labels`. */ export declare function resourceLabels(labels: Pick): Record<"atm-env" | "atm-purpose" | "atm-user", string>; /** * Generate name from environment, purpose, and user. The returned * name will be lower cased and not exceed `labels.length`, if * provided. If the name is truncated to `labels.length`, it is * truncated to an alphanumeric character. * * @param labels components of name, see [[Labels]]. * @return name generated from labels */ export declare function labelName(labels: Labels): string; /** * Create array of tags from labels. Ensure tags are lower cased. */ export declare function labelTags(labels: Pick): string[]; //# sourceMappingURL=label.d.ts.map