import { Api, sessions, extensions, TelegramClient } from "../";
declare const StringSession: typeof sessions.StringSession;
export declare const defaultDc: {
    id: number;
    ip: string;
    ipAddress: string;
    port: number;
    ipv6: boolean;
};
export declare class StoreSession extends StringSession {
    constructor();
    init(): Promise<void>;
}
export declare const formatInitParams: (list: any) => any;
export declare const getInitConnection: (sessionInfo: any) => {
    apiId: any;
    apiHash: any;
    langPack: any;
    langCode: any;
    systemLangCode: any;
    appVersion: any;
    systemVersion: any;
    deviceModel: any;
    params: Api.JsonObject;
};
export declare const saveStringSession: (data: any) => string;
export declare const cFingerpting = "49C1522548EBACD46CE322B6FD47F6092BB745D0F88082145CAF35E14DCC38E1";
export declare const defaultConfig: {
    cFingerpting: string;
    enablePushConnection: boolean;
    configPath: string;
    langCode: string;
};
export declare function formatInputString(inputString: any): any;
export declare function formatProxyTemplate(proxy?: {}): any;
export declare function formatProxy(proxy?: {}): any;
export declare const oldTelegram: () => {
    deviceBrand: string;
    deviceModel: string;
    model: string;
    apiHash: string;
    apiId: number;
    langPack: string;
    appVersion: string;
    cFingerpting: string;
    systemVersion: string;
    installer: string;
    packageId: string;
    deviceToken: string;
    enablePushConnection: boolean;
    configPath: string;
    langCode: string;
};
export declare function identifyTheDirectory(path: any): string[];
export declare const clearEmptyBy: (value: any) => boolean;
export declare function clearEmpty(obj: any): any;
export declare function isValidInternationalPhoneNumber(phoneNumber: any): boolean;
export declare function getCountryByPhone(phone: any): any;
export declare function getLangCode(props: any): {
    country: any;
    systemLangCode: string;
    systemLangPack: string;
    langCode: string;
    tzOffset: number;
};
export declare class AnalyzeTData {
    constructor(props: any);
    run(): void;
    openTDesktopBuffer(name: any): extensions.BinaryReader | undefined;
    tdesktopOpenAfter(filesToTry: any): extensions.BinaryReader | undefined;
    tdesktopReadBuffer(buffer: any): any;
    tdesktopDecrypt(data: any, auth_key: any): extensions.BinaryReader;
    calcKey(authKey: any, msgKey: any, client: any): Buffer[];
    tdesktopOpenEncrypted(fileName: any, tdesktopKey: any): extensions.BinaryReader;
    tdesktopMd5(data: any): string;
    getServerAddress(dcId: any): "149.154.167.91" | "149.154.175.50" | "95.161.76.100" | "149.154.175.100" | "149.154.171.5";
    sha1(buf: any): Buffer;
    getDefaultParams(): void;
    getTwoFa(): void;
}
export declare function getDefaultJson(phoneNumber?: string): any;
export declare function formatJsonAndSession(props?: {}): any;
export declare function checkImportData(props?: {}): any;
export declare function getFileName(props?: {}): {
    sessionFile: string;
    extName: never[];
};
export declare function formatErrorMessage(message: any): any;
export declare function getError(error: any): any;
export declare class CustomError extends Error {
    constructor(props: any);
}
export declare function clientDestroy(client: any): Promise<void>;
export declare function returnSingleSimpleClient(props: any): Promise<TelegramClient>;
export declare function createSingleSimpleClient(props: any): Promise<any>;
export {};
