import type { IObjectAny } from '../typings/common';
import type { IClassNamesParams } from './classnames';
export declare function generateUID(): string;
/**
 * 通过正则字符串创建正则表达式对象
 */
export declare function createRegExpByString(regexp: any): RegExp | null;
/**
 * 编译模板字符串，支持 ${} 语法的模板
 */
export declare function templateCompiled(tpl?: string, data?: IObjectAny): string;
/**
 * 创建带前缀的类名
 * @param prefix 类名前缀
 * @param args classNames 库参数
 * @returns 带前缀的类名
 */
export declare function classNamesWithPrefix(prefix: string, ...args: IClassNamesParams): string;
export declare function hasOwnProperty(obj: object, property: PropertyKey): boolean;
export declare function sleep(time?: number): Promise<unknown>;
