import { type RuntimeDeliveryLaneIdentity, type RuntimeDeliveryLaneManifest, type RuntimeDeliveryPublicKey } from './types'; export declare const MAX_RUNTIME_MANIFEST_BYTES: number; export type RuntimeDeliveryManifestFailureCode = 'body_too_large' | 'http_error' | 'network_error' | 'timeout' | 'stream_unavailable' | 'invalid_manifest' | 'invalid_signature' | 'unknown_key' | 'lane_mismatch' | 'generation_regression' | 'generation_equivocation' | 'authority_body_too_large' | 'authority_http_error' | 'authority_network_error' | 'authority_timeout' | 'authority_stream_unavailable' | 'authority_invalid' | 'authority_invalid_signature' | 'authority_unknown_key' | 'authority_expired' | 'authority_origin_mismatch' | 'authority_disabled'; export declare class RuntimeDeliveryManifestError extends Error { readonly code: RuntimeDeliveryManifestFailureCode; readonly status?: number; constructor(code: RuntimeDeliveryManifestFailureCode, message: string, options?: { cause?: unknown; status?: number; }); } export declare function verifyRuntimeDeliveryManifest(serializedJws: string, expectedIdentity: RuntimeDeliveryLaneIdentity, publicKeys: Record): Promise; export declare function verifyRuntimeDeliverySignedPayload(serializedJws: string, expectedType: string, publicKeys: Record): Promise;