13 lines
392 B
TypeScript
13 lines
392 B
TypeScript
declare module "activitypub-express" {
|
|
function ActivitypubExpress(options: Record<string, any>);
|
|
export default ActivitypubExpress;
|
|
}
|
|
|
|
declare module "activitypub-http-signatures" {
|
|
export class Sha256Signer {
|
|
constructor(options: { publicKeyId: string, privateKey: string });
|
|
|
|
sign: (options: { url: string, method: string, headers: any[] }) => string;
|
|
};
|
|
}
|