import type { FullRelaySettings, NostrEvent, UserMetadata } from ".."; export interface CachedBase { /** * When the object was saved in cache */ loaded: number; /** * When the source data event was created */ created: number; /** * The pubkey of the owner of this data */ pubkey: string; } export type CachedMetadata = CachedBase & UserMetadata; export type UsersRelays = { relays: FullRelaySettings[]; } & CachedBase; export type UsersFollows = { follows: Array>; } & CachedBase; export declare function mapEventToProfile(ev: NostrEvent): CachedMetadata | undefined; //# sourceMappingURL=index.d.ts.map