import type { Condition } from '../../../mod.js'; import type { CaseInfo } from './type.js'; /** 核心匹配语句 */ export declare function matching(match_value: any, condition: Condition, flag: symbol | string): symbol | null | string; /** 返回match的值 */ export declare function match_return(type: 'Some' | 'None', def: any, match_value: any, result: any, caseinfo: CaseInfo): any; /** 解析配置信息`caseinfo`并生成正确的返回值 */ export declare function match_result(match_value: any, result: any, info: CaseInfo): any; /** 类型守卫 , 防止NonNullable数据 */ export declare function type_protect(value: unknown): void | never; //# sourceMappingURL=core.d.ts.map