UNPKG

275 BTypeScriptView Raw
1import { Maybe } from '../common/types';
2import { CID, FileContent, AddResult } from './types';
3export declare const add: (content: FileContent, key: Maybe<string>) => Promise<AddResult>;
4export declare const catAndDecode: (cid: CID, key: Maybe<string>) => Promise<unknown>;