export declare function hasOwn(obj: Record<string, any>, key: string): boolean;
/**
 *  String format template
 *  - Inspired:
 *    https://github.com/Matt-Esch/string-template/index.js
 * @param {string} string 字符串
 * @param {any} args 填充选项
 * @example
 * ```ts
 * stringFormat('{{likes}} people have liked this', {
 *   likes: 123,
 * });
 * ```
 */
export declare function stringFormat(string: string, ...args: any): string;
