import type { API } from 'zca-js'; export type QrLoginPayload = { cookie: unknown[]; imei: string; userAgent: string; }; export type ZaloAccountProfile = { userId: string; displayName: string; zaloName: string; phoneNumber: string; }; export declare function formatPhoneDisplay(phone: string): string; export declare function buildCredentialName(profile: ZaloAccountProfile, prefix?: string): string; export declare function fetchAccountProfile(api: API): Promise; export declare function buildZaloCredentialData(login: QrLoginPayload, profile: ZaloAccountProfile, proxy: string): Record;