export declare function toRegExp(raw: string): RegExp | undefined; /** * wrap Function with result cache */ export declare function cache any>(func: T): T; export declare const hasItem: (list: ArrayLike, value: T) => boolean; export type Patchable = Record | ArrayLike; /** * Add values which the target object doesn't have */ export declare function patch(target: Patchable, ...mixin: Patchable[]): Patchable;