2024-06-05 12:19:12 -07:00
|
|
|
declare module '@onebeyond/spdx-license-satisfies' {
|
|
|
|
|
export function satisfies(
|
|
|
|
|
candidateExpr: string,
|
|
|
|
|
constraintExpr: string
|
|
|
|
|
): boolean
|
2024-06-05 22:57:06 -07:00
|
|
|
|
|
|
|
|
export function satisfiesAny(
|
|
|
|
|
candidateExpr: string,
|
|
|
|
|
licenses: string[]
|
|
|
|
|
): boolean
|
|
|
|
|
|
|
|
|
|
export function satisfiesAll(
|
|
|
|
|
candidateExpr: string,
|
|
|
|
|
licenses: string[]
|
|
|
|
|
): boolean
|
2024-06-05 12:19:12 -07:00
|
|
|
}
|