export declare function parseArgsWithJson5(argsStr: string): any[] | null;
/**
 * Get the user's country based on their time zone.
 * @param {string} userTimeZone - The user's time zone.
 * @returns {string} The user's country or the original time zone if not found.
 */
export declare function getCountryByTimeZone(userTimeZone: string): string;
export declare function validateChinaTime(userTimeZone: string): boolean;
/**
 * Ensures a valid message DOM id exists for the current response bubble.
 *
 * Cannot mutate the caller's string variable (primitives pass by value in JS)
 * or trigger Stencil @State reactivity — so the caller must:
 *   1. Assign the returned `id` back to `this.currentDomId`
 *   2. Spread `this.messages = [...this.messages]` when `idChanged` is true
 *   3. Skip emitting events when `orphaned` is true
 *
 * @param currentId  The component's current domId (e.g. this.currentDomId)
 * @param messages   The component's messages array (objects mutated in-place for id)
 * @param prefix     ID prefix, e.g. "chatbot"
 * @returns          { id, idChanged, orphaned }
 */
export declare function ensureMessageId(currentId: string, messages: any[], prefix?: string): {
    id: string;
    idChanged: boolean;
    orphaned: boolean;
};
