UNPKG

mongodb-download-url

Version:
27 lines 813 B
import type { VersionListOpts } from './version-list'; import { clearCache } from './version-list'; type ArtifactOptions = { version?: string; arch?: string; platform?: string; distro?: string; enterprise?: boolean; cryptd?: boolean; crypt_shared?: boolean; csfle?: boolean; bits?: '32' | '64' | 32 | 64; }; export type Options = ArtifactOptions & VersionListOpts; export type DownloadArtifactInfo = Required<Omit<ArtifactOptions, 'csfle'>> & { url: string; artifact: string; name: string; ext: string; filenamePlatform: string; debug: false; branch: 'master'; }; export declare function getDownloadURL(opts?: Options | string): Promise<DownloadArtifactInfo>; export default getDownloadURL; export { clearCache }; //# sourceMappingURL=index.d.ts.map