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>(o: A): A;
/**
* cast object to class with class methods
* */
export declare function withMethod(c: Type, o: A): A;