export declare enum RelayMode { Read = "read", Write = "write", Inbox = "inbox" } export type RelayProfile = { url: string; icon?: string; banner?: string; name?: string; self?: string; pubkey?: string; contact?: string; software?: string; version?: string; negentropy?: number; description?: string; supported_nips?: number[]; privacy_policy?: string; terms_of_service?: string; limitation?: { min_pow_difficulty?: number; payment_required?: boolean; auth_required?: boolean; }; }; export declare const isRelayUrl: (url: string) => boolean; export declare const isOnionUrl: (url: string) => boolean; export declare const isLocalUrl: (url: string) => boolean; export declare const isIPAddress: (url: string) => boolean; export declare const isShareableRelayUrl: (url: string) => boolean; export declare const normalizeRelayUrl: (url: string) => string; export declare const displayRelayUrl: (url: string) => string; export declare const displayRelayProfile: (profile?: RelayProfile, fallback?: string) => string; //# sourceMappingURL=Relay.d.ts.map