type TypeScriptGoPackage = 'typescript' | 'preview'; type TypeScriptGoPackageJson = { name?: string; version?: string; bin?: string | Record; }; type ResolvedTypeScriptGoPackage = { packageJsonPath: string; tsgoPackage: TypeScriptGoPackage; }; declare function readTsgoPackageJson(packageJsonPath: string): TypeScriptGoPackageJson; declare function getTsgoPackage(packageJson: TypeScriptGoPackageJson): TypeScriptGoPackage | undefined; declare function resolveTypeScriptGoPackage(packageJsonPath: string): ResolvedTypeScriptGoPackage | undefined; export { getTsgoPackage, readTsgoPackageJson, resolveTypeScriptGoPackage }; export type { ResolvedTypeScriptGoPackage, TypeScriptGoPackage, TypeScriptGoPackageJson };