import { AnyFn, GuardFn } from './types'; export declare class Matcher { private initialValues; private matchList; private elseValue; private catchCallback; constructor(value?: any[]); private defaultCatchCallback; private runMatch(value); case(pattern: string, predicate?: any, guard?: GuardFn): this; with(pattern: string, predicate?: any, guard?: GuardFn): this; do(predicate: any): Matcher; when(func: GuardFn): Matcher; else(func: AnyFn): Matcher; catch(func: AnyFn): Matcher; return(...value: any[]): any; end(): any; } export declare const match: (...args: any[]) => Matcher; export default match;