type AddressableEvent = { kind: number; pubkey: string; tags: string[][]; }; export declare class Address { readonly kind: number; readonly pubkey: string; readonly identifier: string; readonly relays: string[]; constructor(kind: number, pubkey: string, identifier: string, relays?: string[]); static isAddress(address: string): boolean; static from(address: string, relays?: string[]): Address; static fromNaddr(naddr: string): Address; static fromEvent(event: AddressableEvent, relays?: string[]): Address; toString: () => string; toNaddr: () => `naddr1${string}`; } export declare const getAddress: (e: AddressableEvent) => string; export {}; //# sourceMappingURL=Address.d.ts.map