import { AudienceProp } from '@tour-kit/core/engine'; /** * Resolve a single announcement's audience for the segment-shape branch only. * * Returns `true` (let through) for `undefined` and array-shape audiences — the * array branch is re-checked downstream by the scheduler against `userContext`, * which is the legacy contract we must preserve. Only segment-shape audiences * are resolved here, because those need a segment map the scheduler has no * access to. * * Moved from `hooks/use-filtered-announcements.tsx` unchanged. It is a public * root export (`index.ts`), so the hook file re-exports it under the same name * and nothing moves for consumers. */ declare function evaluateAnnouncementAudience(audience: AudienceProp | undefined, segments: Record): boolean; export { evaluateAnnouncementAudience as e };