activitypress/module.d.ts

13 lines
392 B
TypeScript
Raw Normal View History

2023-12-25 18:49:16 +00:00
declare module "activitypub-express" {
function ActivitypubExpress(options: Record<string, any>);
export default ActivitypubExpress;
2023-12-26 02:33:18 +00:00
}
declare module "activitypub-http-signatures" {
export class Sha256Signer {
constructor(options: { publicKeyId: string, privateKey: string });
sign: (options: { url: string, method: string, headers: any[] }) => string;
};
}