export declare function isStringMatch(input: string): boolean; export declare function registerCustomContext(context: any): void; /** * @param target 目标对象,可为任意类型。支持常规js操作 * @param context 上下文 * @returns 目标对象根据上下文完成模板字符串替换后对应的值 * @example * getTargetValue('xxx{{res.title}}', { res: { title: 'Test' } }) => 'xxxTest' * getTargetValue('{{res}}', { res: { title: 'Test' } }) => { title: 'Test' } * getTargetValue('{{!a}}', { a: false }) => true * getTargetValue('{{a && b}}', { a: false, b: true }) => false */ export default function getTargetValue(target: any, context?: any): any;