import type { PackageSettings, PackageSettingsMatchObject } from '@ms-cloudpack/common-types'; interface CheckMatchParams { /** The name of the package. */ name: string; /** The version of the package. */ version: string; /** The match to check against. For an array, returns true if any entries match. */ match: PackageSettings['match']; /** If true, require an exact match for the name (don't process wildcards). */ exactMatch?: boolean; } /** * Checks if the package is a match for the given package settings. * * Throws if the match is invalid (shouldn't happen due to previous validation). */ export declare function checkMatch(params: CheckMatchParams): boolean; export declare function toMatchObject(match: PackageSettingsMatchObject | string): PackageSettingsMatchObject; export {}; //# sourceMappingURL=checkMatch.d.ts.map