import { z } from 'zod'; import type { ObjectStorePutOptions } from './objectStore.ts'; /** Ordinary mutable object transport, not a datalake payload or reference. */ export declare const ObjectStoreRecordZod: z.ZodObject<{ format: z.ZodLiteral<"dapp-kit.bound-record">; formatVersion: z.ZodLiteral<1>; storeId: z.ZodString; key: z.ZodString; bodyHex: z.ZodString; contentHash: z.ZodString; size: z.ZodNumber; metadata: z.ZodObject<{ cacheControl: z.ZodOptional; contentEncoding: z.ZodOptional; contentType: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strict>; }, z.core.$strict>; /** Bound the encoded transport independently of the decoded app bytes. */ export declare function objectStoreRecordMaximumBytes(maximumObjectBytes: number): number; export declare function encodeObjectStoreRecord(body: Uint8Array, storeId: string, key: string, metadata: Pick, maximumObjectBytes: number): Uint8Array; /** Store/key binding and a byte hash detect misrouting and corruption; they do * not authenticate an untrusted writer or replace the host's access policy. */ export declare function decodeObjectStoreRecord(body: Uint8Array, storeId: string, key: string, maximumObjectBytes: number): { body: Uint8Array & Uint8Array; metadata: { contentLength: number; cacheControl?: string | undefined; contentEncoding?: string | undefined; contentType?: string | undefined; metadata?: Record | undefined; }; }; //# sourceMappingURL=objectStoreRecord.d.ts.map