import { IRPCMethod } from '@mcph/miix-std/dist/internal';
import { IMessage, Message } from './message';
/**
 * MethodMessage is a method call to or from the iframe.
 */
export declare class MethodMessage implements IMessage {
    readonly kind: Message;
    private readonly data;
    /**
     * @override
     */
    readonly text: string;
    /**
     * @override
     */
    readonly id: string;
    constructor(kind: Message, data: IRPCMethod<any>);
    /**
     * @override
     */
    expansion(): string;
}
