///
import CID from 'cids';
import { Options as AddOptions, File, Result } from 'ipfs-unixfs-importer';
import { Options as GetOptions } from 'ipfs-unixfs-exporter';
import { Peer } from '../core';
export { Options as AddOptions, File, Result } from 'ipfs-unixfs-importer';
export { Options as GetOptions } from 'ipfs-unixfs-exporter';
declare module '../core' {
interface Peer {
addFile(source: Iterable, options?: AddOptions): Promise;
getFile(cid: CID | Buffer | string, options?: GetOptions): Promise;
}
}
export { Peer };