| Linux premium331.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 Path : /home/livedhms/lmgt/node_modules/@prisma/fetch-engine/dist/ |
| Current File : /home/livedhms/lmgt/node_modules/@prisma/fetch-engine/dist/download.d.ts |
import { BinaryTarget } from '@prisma/get-platform';
import { BinaryType } from './BinaryType';
export declare const vercelPkgPathRegex: RegExp;
export type BinaryDownloadConfiguration = {
[binary in BinaryType]?: string;
};
export type BinaryPaths = {
[binary in BinaryType]?: {
[binaryTarget in BinaryTarget]: string;
};
};
export interface DownloadOptions {
binaries: BinaryDownloadConfiguration;
binaryTargets?: BinaryTarget[];
showProgress?: boolean;
progressCb?: (progress: number) => void;
version?: string;
skipDownload?: boolean;
failSilent?: boolean;
printVersion?: boolean;
skipCacheIntegrityCheck?: boolean;
}
export declare function download(options: DownloadOptions): Promise<BinaryPaths>;
export declare function getVersion(enginePath: string, _binaryName: string): Promise<string | undefined>;
export declare function getBinaryName(binaryName: BinaryType, binaryTarget: BinaryTarget): string;
export declare function maybeCopyToTmp(file: string): Promise<string>;
export declare function plusX(file: any): void;