export declare function format(first?: string, middle?: string, last?: string): string; /** * Extracts access token from cookies and formats it as "Bearer " * @returns Formatted bearer token string or empty string if token not found */ export declare const getBearerTokenFromCookies: () => string; export interface ImageUrl { url?: string; thumbnailUrl?: string; type?: string; } /** * Extracts and resolves image source URL based on image object and thumbnail preference * @param imageUrl - Object containing url, thumbnailUrl, and type, or array of such objects, or string * @param isNeedThumbnail - Whether to prefer thumbnail URL (default: true) * @returns Resolved image URL string */ export declare const getImageSrc: (imageUrl?: { url?: string; thumbnailUrl?: string; type?: string; } | { url?: string; thumbnailUrl?: string; type?: string; }[] | string, isNeedThumbnail?: boolean) => string; /** * Safely extracts product image from data that can be either an array or a string * @param productImage - Product image data that can be an array of images or a single image string * @returns The first image from array or the string itself, or null if no image */ export declare const getProductImage: (productImage?: string[] | string | null) => string | null;