Files
oh-my-opencode/bin/platform.d.ts
T

19 lines
533 B
TypeScript
Raw Normal View History

export declare function getPlatformPackage(options: {
platform: string;
arch: string;
libcFamily?: string | null;
2026-05-30 19:12:05 +09:00
packageBaseName?: string;
}): string;
export declare function getPlatformPackageCandidates(options: {
platform: string;
arch: string;
libcFamily?: string | null;
preferBaseline?: boolean;
2026-05-30 19:12:05 +09:00
packageBaseName?: string;
}): string[];
export declare function getBinaryPath(pkg: string, platform: string): string;
2026-05-30 19:12:05 +09:00
export declare function resolvePlatformPackageBaseName(wrapperPackageName: string): string;