UNPKG

@longviewlabs/strapi-provider-upload-arweave

Version:

Arweave upload provider for Strapi v5

25 lines 791 B
/// <reference types="node" /> /// <reference types="node" /> import { type DefaultOptions, type File, type Options } from './types'; export declare const getConfigDefaultValues: (config: DefaultOptions) => { arweaveWallet: { ext?: boolean | undefined; d?: string | undefined; dp?: string | undefined; dq?: string | undefined; p?: string | undefined; q?: string | undefined; qi?: string | undefined; kty: string; e: string; n: string; }; gateway: string; getContentType: (file: File) => string; }; export declare const prepareUploadFile: (file: File, config: Options) => Promise<{ fileBuffer: Buffer; fileSize: number; fileContentType: string; }>; //# sourceMappingURL=utils.d.ts.map