import { KeyType } from "./key-type.js"; import { ABIEncoder } from "../serializer/encoder.js"; import { Bytes } from "./bytes.js"; import { ABIDecoder } from "../serializer/decoder.js"; import { ABISerializableObject } from "../serializer/serializable.js"; export type PublicKeyType = PublicKey | string | { type: string; compressed: Uint8Array; }; export declare class PublicKey implements ABISerializableObject { static abiName: string; type: KeyType; data: Bytes; static from(value: PublicKeyType): PublicKey; static fromABI(decoder: ABIDecoder): PublicKey; constructor(type: KeyType, data: Bytes); getCompressedKeyBytes(): Uint8Array; equals(other: PublicKeyType): boolean; toLegacyString(prefix?: string): string; toString(): string; toABI(encoder: ABIEncoder): void; toJSON(): string; } //# sourceMappingURL=public-key.d.ts.map