import { MutationObserver } from '@tanstack/query-core';
import { WeavyType } from '../client/weavy';
import { ReactionsResultType } from '../types/reactions.types';
import { MemberType } from '../types/members.types';
import { MsgType } from '../types/msg.types';
export declare function reactionMutation(weavy: WeavyType, parentId: number, parentType: "posts" | "files" | "apps", entityId: number, entityType: "messages" | "posts" | "comments", content: string | undefined, user: MemberType): MutationObserver<Response, Error, void, void>;
export declare function getReactionListOptions(weavy: WeavyType, entityType: string, entityId: number): {
    queryKey: (string | number)[];
    enabled: boolean;
    queryFn: () => Promise<ReactionsResultType>;
};
export declare function updateReaction(item: MsgType, content: string | undefined, user: MemberType): MsgType;
//# sourceMappingURL=reactions.d.ts.map