import type { IUser } from "@esri/arcgis-rest-portal";
import { IChannel, IDiscussionsUser } from "../../types";
/**
 * Utility to determine if User can view channel posts and channel attributes
 *
 * @deprecated replace with canReadChannelV2 for v2 discussions
 * @export
 * @param {IChannel} channel
 * @param {IUser} user
 * @return {*}  {boolean}
 */
export declare function canReadChannel(channel: IChannel, user?: IUser | IDiscussionsUser): boolean;
/**
 * Utility (deprecated) to determine whether User can view posts belonging to Channel
 *
 * @export
 * @deprecated replace with canReadChannelV2 for v2 discussions
 * @param {IChannel} channel
 * @param {IUser} user
 * @return {*}  {boolean}
 */
export declare function canReadFromChannel(channel: IChannel, user?: IUser | IDiscussionsUser): boolean;
