import type { StreamFn } from '@earendil-works/pi-agent-core';
/**
 * pi-coding-agent's default {@link createAgentSession} streamFn always routes through
 * pi-ai's HTTP `streamSimple`, so xopc plugin providers (whose models carry the sentinel
 * `EXTENSION_PROVIDER_BASE_URL`) never reach their {@link ProviderPluginRegistry}
 * implementation. Wrap the original streamFn so plugin models go through xopc's bridge
 * and everything else falls through to the original auth-aware streamFn.
 *
 * Use this by reassigning {@link Agent.streamFn} after `createAgentSession` returns.
 */
export declare function wrapStreamFnForXopcExtensions(originalStreamFn: StreamFn): StreamFn;
