import { MetadataFetchOptions } from '../state/Metadata/updaters/MetadataUpdater'; export declare const isIpfsUri: (uri: string) => boolean; export declare const getHash: (uri: string) => string; export declare function ipfsToImageUri(uriHash: string, gateway?: string): string; export declare function ipfsToLsUri(uriHash: string, gateway?: string): string; export declare function fetchIpfsUriBlob(uriHash: string, gateway?: string): Promise; export interface CustomIpfsGatewayConfig { gateway: string; config?: { init?: RequestInit; }; } export declare function chainFetchIpfsUri(uriHash: string, ...customGateways: CustomIpfsGatewayConfig[]): Promise; export declare function chainFetchIpfsLsUri(uriHash: string, ...customGateways: CustomIpfsGatewayConfig[]): Promise; export declare function responseToBlob(response: Response | undefined): Promise; export declare function chainFetchIpfsUriBlob(uriHash: string, ...customGateways: CustomIpfsGatewayConfig[]): Promise; export declare function chainFetchIpfsApiContent(uri: T, { fetchOptions, auxData }: { fetchOptions?: MetadataFetchOptions; auxData?: any; }): Promise<{ uri: T; auxData: any; }[]>; //# sourceMappingURL=ipfs.d.ts.map