/** * Fetch a js test case by URL. * example URL: https://codeberg.org/socialweb.coop/activitypub-testing-fep-521a/raw/branch/main/fep/521a/actor-objects-must-express-signing-key-as-assertionMethod-multikey.js * @param {URL} url - url to the test case */ export function fetchJsTestCase(url: URL, { fetch }?: { fetch?: typeof fetch | undefined; }): Promise>; /** * @template Inputs * @typedef {import('./test-utils.js').TestCase} TestCase */ /** * @template Inputs * a set of test cases */ export class TestCases { /** * @param {Iterable>} testCases */ static create(testCases: Iterable>): TestCases; /** * * @param {Iterable>} testCases */ constructor(testCases: Iterable>); /** * select a test case * @param {object} selector * @param {string} [selector.uuid] * @param {string} [selector.slug] */ select(selector: { uuid?: string | undefined; slug?: string | undefined; }): TestCase | undefined; toJSON(): { [k: string]: TestCase; }; toCollection(): { type: string[]; totalItems: number; items: TestCase[]; name: string; "@context": string[]; }; [Symbol.iterator](): IterableIterator>; #private; } export const activityPubTestCases: TestCases; export type TestCase = import('./test-utils.js').TestCase; //# sourceMappingURL=testCases.d.ts.map