/**
 * 单个 SalesSdkProvider 实例内的 Host Promise 桥接。
 * 替代模块级全局 pending，避免路由缓存多实例同时响应同一弹窗。
 */
export interface InstanceHostBridgePending<P, R> {
    payload: P;
    resolve: (result: R | null) => void;
}
export interface InstanceHostBridge<P, R> {
    /** 发起 Host 请求，由同实例 Renderer 消费并 complete */
    request: (payload: P) => Promise<R | null>;
    /** 供 useSyncExternalStore 订阅 pending 变化 */
    subscribe: (listener: () => void) => () => void;
    getSnapshot: () => InstanceHostBridgePending<P, R> | null;
    complete: (result: R | null) => void;
}
/**
 * 创建实例级 Host bridge。
 *
 * @example
 * const bridge = createInstanceHostBridge<Payload, Result>();
 * const open = (payload: Payload) => bridge.request(payload);
 */
export declare function createInstanceHostBridge<P, R>(): InstanceHostBridge<P, R>;
