import { ErrorUnion, OkUnion } from '../outputs'; /** * Sends a call rating * @param {Object} params * @param {number} [params.callId] - Call identifier * @param {number} [params.rating] - Call rating; 1-5 * @param {string} [params.comment] - An optional user comment if the rating is less * than 5 * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type SendCallRatingMethod = (params: SendCallRatingParams, state?: Record) => Promise; export interface SendCallRatingParams { /** Call identifier */ callId?: number; /** Call rating; 1-5 */ rating?: number; /** An optional user comment if the rating is less than 5 */ comment?: string; }