import { tl } from '../tl/index.js'; import { AsyncResource } from '@fuman/utils'; /** * Config manager is responsible for keeping * the current server configuration up-to-date * and providing methods to find the best DC * option for the current session. */ export declare class ConfigManager extends AsyncResource { constructor(update: () => Promise); findOption(params: { dcId: number; allowIpv6?: boolean; preferIpv6?: boolean; allowMedia?: boolean; preferMedia?: boolean; cdn?: boolean; }): Promise; }