@ethersphere/bee-js
Version:
Javascript client for Bee
5 lines (4 loc) • 354 B
TypeScript
import { EnvelopeWithBatchId, FileHeaders } from '../types';
import { BatchId } from './typed-bytes';
export declare function readFileHeaders(headers: Record<string, string>): FileHeaders;
export declare function prepareRequestHeaders(stamp: BatchId | Uint8Array | string | EnvelopeWithBatchId | null, nullableOptions?: unknown): Record<string, string>;