import { NativeMessagesUpstreamError, type RequestSizeDetail } from '@sentropic/llm-mesh'; import type { NativeSseFrame } from './native-sse.js'; export declare class NativeSseUpstreamError extends NativeMessagesUpstreamError { } /** Preserve only a known class and the bounded native validation channel. */ export declare const nativeFrameError: (frame: NativeSseFrame, features: { readonly requestSafeguards: boolean; readonly sentBetas: readonly string[]; readonly requestSize?: RequestSizeDetail; }) => NativeSseUpstreamError | undefined; export declare const nativeLateErrorBytes: (error: unknown) => Uint8Array; //# sourceMappingURL=native-stream-errors.d.ts.map