export interface ActivityPubActor { id: string; type: string; preferredUsername?: string; name?: string; summary?: string; attachment?: Array<{ type: string; name?: string; value?: string; }>; attributedTo?: string | { preferredUsername?: string; name?: string; icon?: { url?: string; }; }; content?: string; } export interface ActivityPubFetchOptions { timeout?: number; } /** * Fetch an ActivityPub actor/object using the Mastodon REST API. * * Many instances enable "authorized fetch" (secure mode), which rejects * unsigned ActivityPub requests. The Mastodon REST API doesn't require * HTTP Signatures, so we use it as the primary fetch strategy. */ export declare function fetchActor(uri: string, options?: ActivityPubFetchOptions): Promise; /** * Fetch data from an ActivityPub URL via the Mastodon REST API */ export declare function fetch(uri: string, options?: ActivityPubFetchOptions): Promise; //# sourceMappingURL=activitypub.d.ts.map