12345678910111213141516 |
- import { Readable } from 'stream';
- import { UrlWithStringQuery } from 'url';
- import { GetUriOptions } from '.';
- declare class DataReadable extends Readable {
- hash?: string;
- constructor(hash: string, buf: Buffer);
- }
- interface DataOptions extends GetUriOptions {
- cache?: DataReadable;
- }
- export default function get({ href: uri }: UrlWithStringQuery, { cache }: DataOptions): Promise<Readable>;
- export {};
|