import type { IUser } from "@esri/arcgis-rest-portal";
import { IChannel, IDiscussionsUser } from "../../types";
import { PostReaction } from "../../enums/postReaction";
/**
 * Utility that determines whether a Channel allows a given PostReaction
 * and whether the User has permissions to create it
 *
 * @export
 * @deprecated replace with canCreateReactionV2 for v2 discussions
 * @param {IChannel} channel
 * @param {PostReaction} value
 * @return {*}  {boolean}
 */
export declare function canCreateReaction(channel: IChannel, value: PostReaction, user?: IUser | IDiscussionsUser): boolean;
