import * as plugins from './plugins.js';
import type { CloudlyApiClient } from './classes.cloudlyapiclient.js';
export declare class Service implements plugins.servezoneInterfaces.data.IService {
    static getServices(cloudlyClientRef: CloudlyApiClient): Promise<Service[]>;
    static getServiceById(cloudlyClientRef: CloudlyApiClient, serviceIdArg: string): Promise<Service>;
    /**
     * creates a new service
     */
    static createService(cloudlyClientRef: CloudlyApiClient, serviceDataArg: Partial<plugins.servezoneInterfaces.data.IService['data']>): Promise<Service>;
    cloudlyClientRef: CloudlyApiClient;
    id: string;
    data: plugins.servezoneInterfaces.data.IService['data'];
    constructor(cloudlyClientRef: CloudlyApiClient);
    /**
     * The service has a secret bundle.
     * This function essentially returns the secret bundle as a flat object.
     * In other words, it resolves secret groups and
     */
    getSecretBundleAsFlatObject(environmentArg?: string): Promise<{
        [key: string]: string;
    }>;
}
