import { RpcRoutingToken } from "@itwin/core-common";
/**
 * Controls the RPC routing for an iModel connection.
 * @public
 */
export declare class IModelRoutingContext {
    private static _current;
    static for(token: RpcRoutingToken): IModelRoutingContext;
    static readonly default: IModelRoutingContext;
    static get current(): IModelRoutingContext | undefined;
    readonly token: RpcRoutingToken;
    get active(): boolean;
    private constructor();
    route<T>(handler: () => T): T;
}
//# sourceMappingURL=IModelRoutingContext.d.ts.map