import { OkUnion } from '../outputs'; /** * Accepts Telegram terms of services * @param {Object} params * @param {string} [params.termsOfServiceId] - Terms of service identifier * @param {Object} state * @returns {OkUnion} */ export declare type AcceptTermsOfServiceMethod = (params: AcceptTermsOfServiceParams, state?: Record) => Promise; export interface AcceptTermsOfServiceParams { /** Terms of service identifier */ termsOfServiceId?: string; }