import type { DeliveryLedger } from '../../shared/interfaces/delivery-ledger.interface.js'; import type { ChatGraphCompositeDatabase, Opportunity } from '../../shared/interfaces/database.interface.js'; export interface OpportunityFeedSelectionInput { reader: Pick; deliveryLedger?: Pick; viewerId: string; networkId?: string; intentScope: { scopeType?: 'intent'; scopeId?: string; }; isMcp: boolean; includeDigestMarkers?: boolean; displayLimit: number; warn: (message: string, data: Record) => void; } export interface OpportunityFeedSelection { opportunities: Opportunity[]; dedupedCount: number; skippedIds: string[]; redeliveryIds: Set; fetchedCount: number; isDigestMode: boolean; } /** * Selects actionable opportunities for the chat/feed surface. The caller actor * check is deliberately the first post-read filter so non-actor rows cannot * affect digest suppression, selection, or downstream profile/presentation reads. */ export declare function selectOpportunityFeed(args: OpportunityFeedSelectionInput): Promise;