- sign(
event: HashedEvent,
secret: string,
): {
content: string;
created_at: number;
id: string;
kind: number;
pubkey: string;
sig: string;
tags: string[][];
} Returns {
content: string;
created_at: number;
id: string;
kind: number;
pubkey: string;
sig: string;
tags: string[][];
}