import type { Provider, AssistantMessageEventStream } from '@earendil-works/pi-ai'; import type { ResolvedPiAiProviderProfile } from '@deepseek-ai/dsh-llm-pi-ai'; export type CoreCompatibleProvider = NonNullable; export type SimpleNativeProvider = Pick; type CoreStream = ReturnType; type PublicCoreStream = Pick; type PublicNativeStream = Pick; type Assert = Condition; /** Compile-time, bidirectional proof; a future real public event change must fail this gate. */ export type PiStreamPublicCompatibility = [ Assert, Assert ]; /** Retain the same stream object after proving its public surface; only SDK-private nominal identity differs. */ export declare function coreEventStream(stream: AssistantMessageEventStream): CoreStream; /** * The published Core adapter consumes streamSimple. Do not pretend its older * protocol-specific clients are interchangeable with a newer SDK's clients. */ export declare function coreProviderView(provider: SimpleNativeProvider): CoreCompatibleProvider; export {}; //# sourceMappingURL=pi-provider-bridge.d.ts.map