import { Model } from "../event-store/interface.js"; import { ProfilePointer } from "../helpers/pointers.js"; import { SelectOptimalRelaysOptions } from "../helpers/relay-selection.js"; import { ignoreBlacklistedRelays } from "../observable/relay-selection.js"; export type OutboxModelOptions = SelectOptimalRelaysOptions & { type?: "inbox" | "outbox"; blacklist?: Parameters[0]; }; /** A model that returns the users contacts with the relays to connect to */ export declare function OutboxModel(user: string | ProfilePointer, opts: OutboxModelOptions): Model; export declare namespace OutboxModel { var getKey: (user: string | ProfilePointer, opts: OutboxModelOptions) => string; }