frontend/.pnpm-store/v3/files/e1/d9ffd7a3ad7aa6ed3807b760a5613dc25edf4cf71a1bb6f1aef3f4badefd655aaf2abd22ef53e3b475f46f980f75ef411c1576f62e53686c46799aae9fffa3

17 lines
503 B
Plaintext

/// <reference types="node" />
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;
}
/**
* Returns a Readable stream from a "data:" URI.
*/
export default function get({ href: uri }: UrlWithStringQuery, { cache }: DataOptions): Promise<Readable>;
export {};