export declare type Message = new (...args: any[]) => T;