declare const AccessControl: any; declare function type(o: any): any; declare function throwsAccessControlError(fn: any, errMsg?: any): void; declare function promiseThrowsError(promise: Promise, errMsg?: any): Promise; declare function throwsError(fn: any, errMsg?: any, errName?: any): void;