import type { EcosystemString } from '@socketsecurity/registry'; import type { components } from '@socketsecurity/sdk/types/api'; export type PURL_Type = components['schemas']['SocketPURL_Type']; type ExpectNever = T; // Temporarily commented out due to dependency version mismatch. // SDK has "alpm" but registry's EcosystemString doesn't yet. // type MissingInEcosystemString = Exclude type ExtraInEcosystemString = Exclude; // export type _Check_EcosystemString_has_all_purl_types = // ExpectNever export type _Check_EcosystemString_has_no_extras = ExpectNever; export declare const ALL_ECOSYSTEMS: readonly ["alpm", "apk", "bitbucket", "cargo", "chrome", "cocoapods", "composer", "conan", "conda", "cran", "deb", "docker", "gem", "generic", "github", "golang", "hackage", "hex", "huggingface", "maven", "mlflow", "npm", "nuget", "oci", "pub", "pypi", "qpkg", "rpm", "swift", "swid", "unknown", "vscode"]; type AllEcosystemsUnion = (typeof ALL_ECOSYSTEMS)[number]; type MissingInAllEcosystems = Exclude; type ExtraInAllEcosystems = Exclude; export type _Check_ALL_ECOSYSTEMS_has_all_purl_types = ExpectNever; export type _Check_ALL_ECOSYSTEMS_has_no_extras = ExpectNever; export declare const ALL_SUPPORTED_ECOSYSTEMS: Set; export declare function getEcosystemChoicesForMeow(): string[]; export declare function isValidEcosystem(value: string): value is PURL_Type; export declare function parseEcosystems(value: string | string[] | undefined): PURL_Type[]; export {}; //# sourceMappingURL=ecosystem.d.mts.map