/** * @returns {RequestInit} */ export function request(): RequestInit; /** * @param {URL} id - identifier of activitypub object to fetch * @param {RequestInit & { fetch?: typeof globalThis.fetch }} [options] * @returns {Promise} */ export function fetch(id: URL, options?: (RequestInit & { fetch?: typeof globalThis.fetch | undefined; }) | undefined): Promise; /** @param {Array|string} types */ export function hasAs2ActivityType(types: Array | string): true | undefined; export const activitypubMediaType: "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\""; export const activityStreams2ActivityTypes: Set; declare namespace _default { export { fetch }; export { request }; } export default _default; //# sourceMappingURL=activitypub.d.ts.map