import { KeyPair, PubKey } from 'bsv'; export declare class SignedMessage { from: string; to: string[]; reply: string; subject: string; context: string[]; payload: string; ts: number; sig?: string; constructor(message?: Partial, userId?: string, keyPair?: KeyPair); get hash(): any; get id(): any; get payloadObj(): any; sign(userId: string, keyPair: KeyPair): void; verify(pubkey: PubKey | string): Promise; }