export declare type U32CancelFuncType = { cancelFn?: () => void; }; export declare class U32CancelStatus { private _canceled; get canceled(): boolean; private _subFuncs; createSubFunc(): U32CancelFuncType; destroySubFunc(subFunc: U32CancelFuncType): void; cancel(): void; awaitFunc(afunc: (...args: ArgsType) => Promise, ...args: ArgsType): Promise; constructor(funcs?: U32CancelFuncType); }