import { type MonoTypeOperatorFunction, type Observable, type OperatorFunction } from "rxjs"; import { IEventSubscriptions } from "../event-store/interface.js"; import { ProfilePointer } from "../helpers/pointers.js"; /** RxJS operator that fetches outboxes for profile pointers from the event store */ export declare function includeMailboxes(store: IEventSubscriptions, type?: "inbox" | "outbox"): OperatorFunction; /** Removes blacklisted relays from the user's relays */ export declare function ignoreBlacklistedRelays(blacklist: string[] | Observable): MonoTypeOperatorFunction; /** Sets fallback relays for any user that has 0 relays */ export declare function includeFallbackRelays(fallbacks: string[] | Observable): MonoTypeOperatorFunction; /** A operator calls {@link selectOptimalRelays} and filters the relays for the user */ export declare function filterOptimalRelays(maxConnections: number | Observable, maxRelaysPerUser: number | Observable): MonoTypeOperatorFunction;