import { CountryCode } from "libphonenumber-js";
import { Variables } from "../types/Variables";
import { Context } from "hono";
/**
 * Get client information from Hono context (when using clientInfoMiddleware)
 * @param c - Hono context
 * @returns Client information object
 */
export declare function getClientInfoFromContext(c: Context<{
    Variables: Variables;
}>): {
    auth0_client?: {
        name: string;
        version: string;
        env?: {
            node?: string | undefined;
        } | undefined;
    } | undefined;
    ip?: string;
    useragent?: string;
    countryCode?: CountryCode;
};
/**
 * Convert structured auth0_client object back to string format for storage
 * @param auth0_client - Structured auth0 client object
 * @returns String representation of auth0 client
 */
export declare function stringifyAuth0Client(auth0_client?: {
    name: string;
    version: string;
    env?: {
        node?: string | undefined;
    } | undefined;
}): string | undefined;
/**
 * Get client information from context with auth0Client as string (for backward compatibility)
 * @param c - Hono context
 * @returns Client information object with stringified auth0Client
 */
export declare function getClientInfoWithStringAuth0Client(c: Context<{
    Variables: Variables;
}>): {
    auth0Client?: string;
    ip?: string;
    useragent?: string;
    countryCode?: CountryCode;
};
