import type { ExtensionUIContext } from "../../core/extensions/index.ts";
import type { RpcExtensionUIResponse } from "./rpc-types.ts";
import type { RpcOutput } from "./rpc-responses.ts";
export interface RpcPendingExtensionRequest {
    resolve: (value: RpcExtensionUIResponse) => void;
    reject: (error: Error) => void;
}
export type RpcPendingExtensionRequests = Map<string, RpcPendingExtensionRequest>;
interface CreateRpcExtensionUIContextOptions {
    output: RpcOutput;
    pendingExtensionRequests: RpcPendingExtensionRequests;
}
export declare function createRpcExtensionUIContext({ output, pendingExtensionRequests, }: CreateRpcExtensionUIContextOptions): ExtensionUIContext;
export {};
//# sourceMappingURL=rpc-extension-ui.d.ts.map