import type { ChatStopReason } from './interface.js'; /** * Resolve an 'unknown' stop reason to 'completed' when the model produced text. * Providers use this when the stream ended without an explicit finish reason * but content was generated. */ export declare function resolveCompletedStopReason(stopReason: ChatStopReason, content: string | undefined): ChatStopReason; /** * Build the providerStopReason spread for ChatResponse. * Returns { providerStopReason } when the raw value is known, otherwise {}. */ export declare function withProviderStopReason(rawStopReason: string | undefined): { providerStopReason?: string; }; //# sourceMappingURL=provider-stop-reason.d.ts.map