import { StringStream } from "../u";
import { CallFlags } from "./CallFlags";
export interface MethodTokenLike {
    /** 0x prefixed hexstring */
    hash: string;
    method: string;
    parametersCount: number;
    hasReturnValue: boolean;
    callFlags: CallFlags;
}
export interface MethodTokenJson {
    /** 0x prefixed hexstring */
    hash: string;
    method: string;
    parameterscount: number;
    hasreturnvalue: boolean;
    callflags: CallFlags;
}
export declare class MethodToken {
    hash: string;
    method: string;
    parametersCount: number;
    hasReturnValue: boolean;
    callFlags: CallFlags;
    constructor(obj: Partial<MethodTokenLike>);
    static fromJson(json: MethodTokenJson): MethodToken;
    static fromStream(reader: StringStream): MethodToken;
    toJson(): MethodTokenJson;
    get size(): number;
    serialize(): string;
    export(): MethodTokenLike;
}
export default MethodToken;
//# sourceMappingURL=MethodToken.d.ts.map