import { tl } from '../../../tl/index.js'; import { ITelegramClient } from '../../client.types.js'; /** * Edit a folder with given modification * * @returns Modified folder */ export declare function editFolder(client: ITelegramClient, params: { /** * Folder, folder ID or name. * Note that passing an ID or name will require re-fetching all folders, * and passing name might affect not the right folder if you have multiple * with the same name. */ folder: tl.RawDialogFilter | number | string; /** Modification to be applied to this folder */ modification: Partial>; }): Promise;