import { type RuntimeUsage } from "veryfront/provider/shared"; export declare const MAX_GOOGLE_SSE_CHUNK_BYTES: number; export declare const MAX_GOOGLE_SSE_BUFFER_CODE_UNITS: number; export declare const MAX_GOOGLE_RETAINED_STATE_BYTES: number; export declare const MAX_GOOGLE_RETAINED_STATE_ITEMS = 8192; export declare function normalizeGoogleFinishReason(raw: unknown): string | { unified: string; raw: string; } | null; export declare function extractGoogleUsage(payload: unknown): RuntimeUsage | undefined; export declare function extractFirstGoogleCandidate(payload: unknown): Record | undefined; export declare function extractGoogleCandidateParts(payload: unknown): Array>; type GoogleStreamContext = { providerLabel?: string; }; export declare function streamGoogleCompatibleParts(stream: ReadableStream, context?: GoogleStreamContext): AsyncIterable; export {}; //# sourceMappingURL=google-stream.d.ts.map