import { List } from '../types/index.js'; import { MatcherRule } from './rules/index.js'; /** * @access private */ export declare abstract class PatternMatcher { protected readonly value: Input_Type; protected readonly rules: List>; constructor(value: Input_Type, rules?: List>); abstract when(pattern: Pattern_Type, transformation: (v: Matching_Type) => Output_Type): PatternMatcher; else(transformation: (v: Input_Type) => Output_Type): Output_Type; } //# sourceMappingURL=PatternMatcher.d.ts.map