void loadRes(url: string, type: typeof cc.Asset, callback: Function): void
void loadResArr(paths: Array<string>, callfun: Function): void;
void loadAudioClip(path: string, callfun: Function): void;
void loadStaticRes(url: string, type: typeof cc.Asset, tag: string, callback: Function): void;
void loadStaticResArr(paths: Array<string>, tag: string, callfun: Function): void
void loadSpriteFrame(path: string, callfun: Function, retainRes: boolean = false)
void loadSpriteFrames(paths: Array<string>, callfun: Function, retainRes: boolean = false);
void retainNodeRes(node: cc.Node): void;
void releaseNodeRes(node: cc.Node): void;
void releaseNodeRes(node: cc.Node): void;
void releaseStaticRes(tag: string): void;
void retatinRes(res: string): void;
void releaseMusicRes(res: string): void;
void retainArrayRes(res: string[]): void;
void releaseRes(res: string): void;
void releaseArrayRes(res: string[]): void;
void updateSpriteTexture(target: cc.Node, spriteFrame: cc.SpriteFrame): void;
void updateButtonTexture(target: cc.Node, normalSprite?: cc.SpriteFrame, pressedSprite?: cc.SpriteFrame, hoverSprite?: cc.SpriteFrame, disabledSprite?: cc.SpriteFrame): void;
void getCacheCount(): number;
void gc(): void;