type Predicate = (x: any) => boolean;
type Func = (x: any) => any;
declare const match: (x: any) => {
    on: (pred: Predicate, fn: Func) => any;
    otherwise: (fn: Func) => any;
};
export default match;
