import { Observable } from 'rxjs'; import { BabylonButtonI, BodyComponent } from '../interfaces'; export declare class Utils { static snakeToCamel(snake: string): string; static convertObjectKeysToCamelCase(obj: any): any; static formatLinkType(linkType: string): string | undefined; static findComponent(body: BodyComponent[], name: string): T | undefined; static convertToBase64(file: File): Promise; static normalizeText(text: string): string; static mapButtons(button: any | any[] | undefined | null, buttonType?: string): BabylonButtonI[] | undefined; private static processSingleButton; static loadScript$(src: string): Observable; static loadStyle$(href: string): Observable; static safeOpenExternal(url: string): void; static extractNumberRange(value?: string | null, fallback?: number[]): number[]; static sortButtonsByOrder(buttons?: Array | null, opts?: { keepOriginal?: boolean; }): T[]; static toSlug(input: string): string; static uniqueSlug(label: string, used: Set): string; static canonicalHotelTypeSlug(label: string): string; /** * Comprueba si el tipo es un hotel en varios idiomas */ static isHotel(type?: string): boolean; static getFormattedUrl(link: any): string; static isApartment(type?: string): boolean; static showIfSup(value?: string | null): string; }