import { Obj, Type } from './lang';
/**
 * Created by beenotung on 6/21/17.
 */
/**
 * fix 'this' scope issue of the member methods when passed to other functions
 * @return original object
 * */
export declare function bindMethods<A extends Obj<Function | any>>(o: A): A;
/**
 * cast object to class with class methods
 * */
export declare function withMethod<A extends object>(c: Type<A>, o: A): A;
