import type { EffectDataPlatformValidationOptions } from './types.js'; /** * Validates the `x-modernjs-data-envelope` header (the data-platform * transport/cache contract: protocol version, scope, selection plan). * * This is NOT a security boundary: the envelope is client-constructed cache * metadata used for batching, scope keys and hydration. Cross-project * authorization runs through the bff-core policy evaluator wired in via * `validateRequest` (see `EffectRequestValidator`), which both the direct * and batched request paths hit before this check. */ export declare function validateDataPlatformRequestEnvelope(request: Request, options: EffectDataPlatformValidationOptions | undefined): Response | null; export declare function mergeDataPlatformOptions(base: EffectDataPlatformValidationOptions | undefined, override: Partial | undefined): EffectDataPlatformValidationOptions | undefined;