declare abstract class BaseMessage {
    protected method: string;
    request: any;
    response: any;
    buildRequest(params: any): void;
}
declare class Request extends BaseMessage {
    protected method: string;
    request: any;
    constructor(method: string, data: any);
}
declare class Result extends BaseMessage {
    constructor(id: number, method: string);
    toString(): string;
}
export { BaseMessage, Request, Result };
