tslib.d.ts
  1  /*! *****************************************************************************
  2  Copyright (c) Microsoft Corporation.
  3  
  4  Permission to use, copy, modify, and/or distribute this software for any
  5  purpose with or without fee is hereby granted.
  6  
  7  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  8  REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  9  AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
 10  INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
 11  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
 12  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 13  PERFORMANCE OF THIS SOFTWARE.
 14  ***************************************************************************** */
 15  export declare function __extends(d: Function, b: Function): void;
 16  export declare function __assign(t: any, ...sources: any[]): any;
 17  export declare function __rest(t: any, propertyNames: (string | symbol)[]): any;
 18  export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any;
 19  export declare function __param(paramIndex: number, decorator: Function): Function;
 20  export declare function __metadata(metadataKey: any, metadataValue: any): Function;
 21  export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any;
 22  export declare function __generator(thisArg: any, body: Function): any;
 23  export declare function __exportStar(m: any, o: any): void;
 24  export declare function __values(o: any): any;
 25  export declare function __read(o: any, n?: number): any[];
 26  /** @deprecated since TypeScript 4.2 */
 27  export declare function __spread(...args: any[][]): any[];
 28  /** @deprecated since TypeScript 4.2 */
 29  export declare function __spreadArrays(...args: any[][]): any[];
 30  export declare function __spreadArray(to: any[], from: any[], pack?: boolean): any[];
 31  export declare function __await(v: any): any;
 32  export declare function __asyncGenerator(thisArg: any, _arguments: any, generator: Function): any;
 33  export declare function __asyncDelegator(o: any): any;
 34  export declare function __asyncValues(o: any): any;
 35  export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray;
 36  export declare function __importStar<T>(mod: T): T;
 37  export declare function __importDefault<T>(mod: T): T | { default: T };
 38  /**
 39   * Reading from a private instance field
 40   */
 41  export declare function __classPrivateFieldGet<T extends object, V>(
 42      receiver: T,
 43      state: { has(o: T): boolean, get(o: T): V | undefined },
 44      kind?: "f"
 45  ): V;
 46  /**
 47   * Reading from a private static field
 48   */
 49  export declare function __classPrivateFieldGet<T extends new (...args: any[]) => unknown, V>(
 50      receiver: T,
 51      state: T,
 52      kind: "f",
 53      f: { value: V }
 54  ): V;
 55  /**
 56   * Reading from a private instance get accessor
 57   */
 58  export declare function __classPrivateFieldGet<T extends object, V>(
 59      receiver: T,
 60      state: { has(o: T): boolean },
 61      kind: "a",
 62      f: () => V
 63  ): V;
 64  /**
 65   * Reading from a private static get accessor
 66   */
 67  export declare function __classPrivateFieldGet<T extends new (...args: any[]) => unknown, V>(
 68      receiver: T,
 69      state: T,
 70      kind: "a",
 71      f: () => V
 72  ): V;
 73  /**
 74   * Reading from a private instance method
 75   */
 76  export declare function __classPrivateFieldGet<T extends object, V extends (...args: any[]) => unknown>(
 77      receiver: T,
 78      state: { has(o: T): boolean },
 79      kind: "m",
 80      f: V
 81  ): V;
 82  /**
 83   * Reading from a private static method
 84   */
 85  export declare function __classPrivateFieldGet<T extends new (...args: any[]) => unknown, V extends (...args: any[]) => unknown>(
 86      receiver: T,
 87      state: T,
 88      kind: "m",
 89      f: V
 90  ): V;
 91  /**
 92   * Writing to a private instance field
 93   */
 94   export declare function __classPrivateFieldSet<T extends object, V>(
 95      receiver: T,
 96      state: { has(o: T): boolean, set(o: T, value: V): unknown },
 97      value: V,
 98      kind?: "f"
 99  ): V;
100  /**
101   * Writing to a private static field
102   */
103  export declare function __classPrivateFieldSet<T extends new (...args: any[]) => unknown, V>(
104      receiver: T,
105      state: T,
106      value: V,
107      kind: "f",
108      f: { value: V }
109  ): V;
110  /**
111   * Writing to a private instance set accessor
112   */
113  export declare function __classPrivateFieldSet<T extends object, V>(
114      receiver: T,
115      state: { has(o: T): boolean },
116      value: V,
117      kind: "a",
118      f: (v: V) => void
119  ): V;
120  /**
121   * Writing to a private static set accessor
122   */
123  export declare function __classPrivateFieldSet<T extends new (...args: any[]) => unknown, V>(
124      receiver: T,
125      state: T,
126      value: V,
127      kind: "a",
128      f: (v: V) => void
129  ): V;
130  export declare function __createBinding(object: object, target: object, key: PropertyKey, objectKey?: PropertyKey): void;