frontend/.pnpm-store/v3/files/47/63f5ad5a3c29d67ffedc392283931f63b978dd56a1cb38d092e5b4799162dd65ad47aaf073d04b81a1d7796449265cec585d3f96771ae5edd407680ab434e8

18 lines
518 B
Plaintext

/// <reference types="node" />
import { Options } from 'ftp';
import { Readable } from 'stream';
import { UrlWithStringQuery } from 'url';
import { GetUriOptions } from '.';
interface FTPReadable extends Readable {
lastModified?: Date;
}
interface FTPOptions extends GetUriOptions, Options {
cache?: FTPReadable;
debug?: (s: string) => void;
}
/**
* Returns a Readable stream from an "ftp:" URI.
*/
export default function get(parsed: UrlWithStringQuery, opts: FTPOptions): Promise<Readable>;
export {};