import { ABISerializableObject } from "../serializer/Serializable.js";
import { ABIEncoder } from "../serializer/Encoder.js";
import { ABIDecoder } from "../serializer/Decoder.js";
import { UInt64 } from "./Integer.js";
/** Type representing a name. */
export type NameType = Name | UInt64 | string;
export declare class Name implements ABISerializableObject {
    static abiName: string;
    /** Regex pattern matching a Wire name, case-sensitive. */
    static pattern: RegExp;
    /** The numeric representation of the name. */
    value: UInt64;
    /**
     * The raw representation of the name.
     * @deprecated Use value instead.
     */
    get rawValue(): UInt64;
    /** Create a new Name instance from any of its representing types. */
    static from(value: NameType): Name;
    static fromABI(decoder: ABIDecoder): Name;
    static abiDefault(): Name;
    constructor(value: UInt64);
    /** Return true if this name is equal to passed name. */
    equals(other: NameType): boolean;
    /** Return string representation of this name. */
    toString(): string;
    toABI(encoder: ABIEncoder): void;
    /** @internal */
    toJSON(): string;
}
//# sourceMappingURL=Name.d.ts.map