declare function _getCounter(): number; export declare type AddDebugCallback = (aDbg: any) => void; /** * Adds source information */ declare function _addSourceCallback(aSource: string): AddDebugCallback; /** * Augments the object with debug information * * @param aSource the source * @param aObject the object * * @return the object */ declare function _addDebugInfo(aCallback: AddDebugCallback, aObject: T): T; /** * Adds source information * * @param aSource source info * @param aObject the object * * @return the original object */ declare function _addSourceDebug(aSource: string, aObject: T): T; export { _addSourceCallback as dbgSourceCallback, _addSourceDebug as dbgAddSource, _addDebugInfo as dbgAdd, _getCounter as dbgCounter };