@etherna/sdk-js
Version:
Etherna SDKs for operations on the network
10 lines • 605 B
TypeScript
import type { FileUploadOptions, RequestUploadOptions } from "../types";
import type { AxiosResponseHeaders, RawAxiosResponseHeaders } from "axios";
export declare function readFileHeaders(headers: RawAxiosResponseHeaders | AxiosResponseHeaders | Partial<Record<string, string>>): {
name: string | null;
tagUid: number | undefined;
contentType: any;
};
export declare function extractUploadHeaders(options: RequestUploadOptions): Record<string, string>;
export declare function extractFileUploadHeaders(options: FileUploadOptions): Record<string, string>;
//# sourceMappingURL=headers.d.ts.map