import { LanguagePackInfoInput, LanguagePackStringInput } from '../inputs'; import { ErrorUnion, OkUnion } from '../outputs'; /** * Adds or changes a custom local language pack to the current localization target * @param {Object} params * @param {LanguagePackInfoInput} [params.info] - Information about the language * pack. Language pack ID must start with 'X', consist only of English letters, digits * and hyphens, and must not exceed 64 characters. Can be called before authorization * @param {LanguagePackStringInput[]} [params.strings] - Strings of the new language * pack * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type SetCustomLanguagePackMethod = (params: SetCustomLanguagePackParams, state?: Record) => Promise; export interface SetCustomLanguagePackParams { /** * Information about the language pack. Language pack ID must start with 'X', consist * only of English letters, digits and hyphens, and must not exceed 64 characters. Can * be called before authorization */ info?: LanguagePackInfoInput; /** Strings of the new language pack */ strings?: LanguagePackStringInput[]; }