import { CallProtocolInput } from '../inputs'; import { ErrorUnion, OkUnion } from '../outputs'; /** * Accepts an incoming call * @param {Object} params * @param {number} [params.callId] - Call identifier * @param {CallProtocolInput} [params.protocol] - Description of the call protocols * supported by the client * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type AcceptCallMethod = (params: AcceptCallParams, state?: Record) => Promise; export interface AcceptCallParams { /** Call identifier */ callId?: number; /** Description of the call protocols supported by the client */ protocol?: CallProtocolInput; }