17 lines
769 B
TypeScript
17 lines
769 B
TypeScript
import type { Database } from 'activitypub-core-types/index';
|
|
import { broadcast } from './broadcast';
|
|
import { getPrivateKey } from './getPrivateKey';
|
|
import { getRecipientInboxUrls } from './getRecipientInboxUrls';
|
|
import { getRecipientsList } from './getRecipientsList';
|
|
import { signAndSendToForeignActorInbox } from './signAndSendToForeignActorInbox';
|
|
export declare class DeliveryService {
|
|
databaseService: Database;
|
|
fetch: Function;
|
|
constructor(databaseService: Database, fetchFn?: Function);
|
|
getPrivateKey: typeof getPrivateKey;
|
|
signAndSendToForeignActorInbox: typeof signAndSendToForeignActorInbox;
|
|
broadcast: typeof broadcast;
|
|
getRecipientInboxUrls: typeof getRecipientInboxUrls;
|
|
getRecipientsList: typeof getRecipientsList;
|
|
}
|