export function validation(element: HTMLElement, regex: RegExp): HTMLElement export function convertCssStyle(style: Object): string