export declare function html(literals: TemplateStringsArray, ...placeholders: string[]): string; export declare function foreach(items: any[] | { [key: string]: string | number; } | { value: string; label: string; }[], callback: (item: any, index: any) => string): string; export declare function ifelse(condition: boolean, trueValue: string, falseValue?: string): string; export declare function highlight(text: string, search: string): string; export declare function diff(from: string, to: string): string; export declare function cls(classes: { [key: string]: boolean; }): string; /** * Builds an HTML attribute string based on the condition provided * * @param name - The attribute to return if the condition is true. * @param value - The value of the attribute. * @param condition - The condition to check. * @returns A string representing the attribute if the condition is true, otherwise an empty string. */ export declare function attr(name: string, value?: null | true | string, condition?: boolean): string; export declare function e(text: string): string;