import { type Filter } from '@/deps.ts'; /** Custom filter interface that extends Nostr filters with extra options for Ditto. */ interface DittoFilter extends Filter { local?: boolean; } /** Additional options to apply to the whole subscription. */ interface GetFiltersOpts { timeout?: number; } export type { DittoFilter, GetFiltersOpts };