declare let CC_JSB: boolean
declare let CC_NATIVERENDERER: boolean
declare let CC_EDITOR: boolean
declare let CC_PREVIEW: boolean
declare let CC_TEST: boolean
declare let CC_DEBUG: boolean
declare let cc: {
// polyfills: {
// destroyObject? (object: any): void;
// };
[x: string]: any;
}
declare let Editor: any;
// https://medium.com/dailyjs/typescript-create-a-condition-based-subset-types-9d902cea5b8c
type FlagExcludedType = { [Key in keyof Base]: Base[Key] extends Type ? never : Key };
type AllowedNames = FlagExcludedType[keyof Base];
type KeyPartial = { [P in K]?: T[P] };
type OmitType = KeyPartial>;
type ConstructorType = OmitType;
declare interface IWritableArrayLike {
readonly length: number;
[index: number]: T;
}
declare let module: {
exports: object
}