import { Backend } from "./Backend";
export declare type BackendCreator = () => Backend | Promise<Backend>;
export interface BackendManager {
    /**
     * Register a new backend for a server type. For igxr scenarios, the type string should equal the server type inside the igxr.
     *
     * @param {string} type
     * @param {BackendCreator} createBackend
     */
    registerBackend(type: string, createBackend: BackendCreator): void;
    getBackendForServerType(serverType: string): Backend | undefined;
    loadBackend(serverType: string): Promise<Backend | undefined>;
}
