import React from "react"; import type { MessageInterface } from "@churchapps/helpers"; /** Subscription markers toggle notifications per person; never render in visible thread */ export declare const SUBSCRIPTION_MESSAGE_TYPE = "subscription"; /** Strip subscription markers from a message list before display. */ export declare function filterVisibleMessages(messages: MessageInterface[] | null | undefined): MessageInterface[]; /** Compute subscription state: latest action by personId wins (real comment=subscribed, "subscription"/"off"=muted, else=subscribed) */ export declare function computeSubscriptionState(messages: MessageInterface[] | null | undefined, personId: string | undefined): boolean; interface Props { conversationId: string | undefined; messages: MessageInterface[] | null | undefined; personId: string | undefined; size?: "small" | "medium"; /** Override the default color (e.g. for a dark dialog header). */ color?: string; /** Override the muted color. */ mutedColor?: string; } /** Bell icon toggling notification subscription for this conversation; renders nothing if conversationId or personId missing */ export declare const SubscriptionToggle: React.FC; export {}; //# sourceMappingURL=SubscriptionToggle.d.ts.map