import { Context } from "./context";
/**
 * Helper class for working with services.
 *
 * @export
 * @class ServiceHelper
 */
export declare class ServiceHelper {
    /**
     * Initializes the service asynchronously, provided it implements either the
     * Initializable or AsyncInitializable interfaces.
     *
     * @static
     * @param {{ [key: string]: any }} service
     * @param {Context} [context] The context to pass to the initialization method.
     * @returns {Promise<void>} A promise returning the asynchronous result.
     * @memberof ServiceHelper
     */
    static initializeAsync(service: {
        [key: string]: any;
    }, context?: Context): Promise<void>;
}
