import { NamingService } from '../services/NamingService'; import { INebulaPlatformConfigBuildService, INebulaPlatformConfig, INebulaPlatformConfigDeploy, NebulaSecretsEngineInjectType } from '../typings/config'; /** * From a given service, infer the name of the service. * @param {INebulaPlatformConfigBuildService} service Service details * @returns {string} Service name */ export declare function getServiceName(service: INebulaPlatformConfigBuildService): string; /** * getServiceRepository is a curried function that allows one to infer the service repository from a given base and service */ export declare function getServiceRepository(defaultBaseRepository: string, service: INebulaPlatformConfigBuildService): string; /** * From a given service, returns the tag. If local, this is always latest otherwise we infer from the service context * @param {INebulaPlatformConfigBuildService} service Service details * @returns {string} Service tag */ export declare function getServiceTag(service: INebulaPlatformConfigBuildService): string; export declare function getBaseRepository({ build: { registry } }: INebulaPlatformConfig): string; export declare function getEnvs({ config }: INebulaPlatformConfigDeploy, scope: string): Record; export declare function getGlobalEnvs(deploy: INebulaPlatformConfigDeploy): Record; export declare function getSecrets({ deploy: { secrets }, basePath }: INebulaPlatformConfig, _scope: string, injectType: NebulaSecretsEngineInjectType): Promise>; export declare function getSecretReferences({ deploy: { secrets } }: INebulaPlatformConfig, _scope: string, injectType: NebulaSecretsEngineInjectType, naming: NamingService): Record>;