import { AccountTtlInput } from '../inputs'; import { ErrorUnion, OkUnion } from '../outputs'; /** * Changes the period of inactivity after which the account of the current user will * automatically be deleted * @param {Object} params * @param {AccountTtlInput} [params.ttl] - New account TTL * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type SetAccountTtlMethod = (params: SetAccountTtlParams, state?: Record) => Promise; export interface SetAccountTtlParams { /** New account TTL */ ttl?: AccountTtlInput; }