import { RequestBuilder } from '../request-builder';
import { ClientKind } from '../common';
/**
 * A factory method for creating request builders
 *
 * @since 0.13
 */
export declare type RequestBuilderFactory = (agentUri: string, locale?: string) => RequestBuilder;
/**
 * Registers a factory for creating request builders for the given kind. This only needs to be called in the entry point of your custom viewer bundle.
 *
 * @param kind
 * @param factory
 * @since 0.13
 */
export declare function registerRequestBuilder(kind: ClientKind, factory: RequestBuilderFactory): void;
/**
 * Creates the request builder for the given kind
 *
 * @param agentUri
 * @param kind
 * @since 0.13
 */
export declare function createRequestBuilder(agentUri: string, kind: ClientKind): RequestBuilder;
