import { MonoTypeOperatorFunction } from "rxjs"; import { IAsyncEventStoreActions, IEventStoreActions } from "../event-store/interface.js"; import type { NostrEvent } from "../helpers/event.js"; /** * Saves all events to an event store and filters out invalid events * If a string is passed in, it will be passed through */ export declare function mapEventsToStore(store: IEventStoreActions | IAsyncEventStoreActions, removeDuplicates?: boolean): MonoTypeOperatorFunction; /** Alias for {@link mapEventsToStore} */ export declare function filterDuplicateEvents(store: IEventStoreActions | IAsyncEventStoreActions): MonoTypeOperatorFunction;