/* * @version : 17.10.1 - Bridge.NET * @author : Object.NET, Inc. http://bridge.net/ * @copyright : Copyright 2008-2019 Object.NET, Inc. http://object.net/ * @license : See license.txt and https://github.com/bridgedotnet/Bridge/blob/master/LICENSE.md. */ declare module Bridge { export type TypeRef = { prototype: { valueOf(): T } | T }; export function global(): T; export function emptyFn(): Function; export function box(v: T, type: { prototype: T }): { v: T, type: { prototype: T } }; export function unbox(obj: any, noclone?: boolean): any; export function property(scope: any, name: string, defaultValue: any): void; export function event(scope: any, name: string, defaultValue: any): void; export function copy(to: T, from: T, keys: string[], toIf?: boolean): T; export function copy(to: T, from: T, keys: string, toIf?: boolean): T; export function ns(ns: string, scope?: any): any; export function ready(fn: { (): void }): void; export function on(event: string, el: HTMLElement, fn: Function): void; export function getHashCode(value: any, safe: boolean): number; export function getDefaultValue(type: TypeRef): T; export function getTypeName(obj: any): string; export function is(obj: any, type: any, ignoreFn?: boolean): boolean; export function as(obj: any, type: TypeRef): T; export function cast(obj: any, type: TypeRef): T; export function apply(obj: T, values: any): T; export function merge(to: T, from: T): T; export function GetEnumerator(obj: any): System.Collections.IEnumerator; export function getPropertyNames(obj: any, includeFunctions?: boolean): string[]; export function isDefined(value: any, noNull?: boolean): boolean; export function isEmpty(value: any, allowEmpty?: boolean): boolean; export function ToArray(ienumerable: any[]): any[]; export function ToArray(ienumerable: T[]): T[]; export function ToArray(ienumerable: any): T[]; export function isArray(obj: any): boolean; export function isFunction(obj: any): boolean; export function isDate(obj: any): boolean; export function isNull(obj: any): boolean; export function isBoolean(obj: any): boolean; export function isNumber(obj: any): boolean; export function isString(obj: any): boolean; export function unroll(value: string): any; export function equals(a: any, b: any): boolean; export function objectEquals(a: any, b: any): boolean; export function deepEquals(a: any, b: any): boolean; export function compare(a: any, b: any, safe?: boolean): boolean; export function equalsT(a: any, b: any): boolean; export function format(obj: any, formatString?: string): string; export function getType(instance: any): any; export function isLower(c: number): boolean; export function isUpper(c: number): boolean; export interface fnMethods { call(obj: any, fnName: string): any; bind(obj: any, method: Function, args?: any[], appendArgs?: boolean): Function; bindScope(obj: any, method: Function): Function; combine(fn1: Function, fn2: Function): Function; remove(fn1: Function, fn2: Function): Function; } var fn: fnMethods; export interface Array { get(arr: any[], indices: number[]): any; set(arr: any[], indices: number[], value: any): void; getLength(arr: any[], dimension: number): number; getRank(arr: any[]): number; create(defValue: any, initValues: any[], sizes: number[]): any[]; toEnumerable(array: any[]): System.Collections.IEnumerable; toEnumerable(array: T[]): System.Collections.Generic.IEnumerable$1; toEnumerator(array: any[]): System.Collections.IEnumerator; toEnumerator(array: T[]): System.Collections.Generic.IEnumerator$1; } var Array: Array; export interface Class { define(className: string, props: any): Function; define(className: string, scope: any, props: any): Function; generic(className: string, props: any): Function; generic(className: string, scope: any, props: any): Function; } var Class: Class; export function define(className: string, props: any): Function; export function define(className: string, scope: any, props: any): Function; export class ErrorException extends System.Exception { constructor(error: Error); getError(): Error; } export interface IPromise { then(fulfilledHandler: Function, errorHandler?: Function): void; } var IPromise: Function; export interface Int extends System.IComparable$1, System.IEquatable$1 { instanceOf(instance: any): boolean; getDefaultValue(): number; format(num: number, format?: string, provider?: System.Globalization.NumberFormatInfo): string; parseFloat(str: string, provider?: System.Globalization.NumberFormatInfo): number; tryParseFloat(str: string, provider: System.Globalization.NumberFormatInfo, result: { v: number }): boolean; parseInt(str: string, min?: number, max?: number, radix?: number): number; tryParseInt(str: string, result: { v: number }, min?: number, max?: number, radix?: number): boolean; trunc(num: number): number; div(x: number, y: number): number; } var Int: Int; export interface Browser { isStrict: boolean; isIEQuirks: boolean; isOpera: boolean; isOpera10_5: boolean; isWebKit: boolean; isChrome: boolean; isSafari: boolean; isSafari3: boolean; isSafari4: boolean; isSafari5: boolean; isSafari5_0: boolean; isSafari2: boolean; isIE: boolean; isIE6: boolean; isIE7: boolean; isIE7m: boolean; isIE7p: boolean; isIE8: boolean; isIE8m: boolean; isIE8p: boolean; isIE9: boolean; isIE9m: boolean; isIE9p: boolean; isIE10: boolean; isIE10m: boolean; isIE10p: boolean; isIE11: boolean; isIE11m: boolean; isIE11p: boolean; isGecko: boolean; isGecko3: boolean; isGecko4: boolean; isGecko5: boolean; isGecko10: boolean; isFF3_0: boolean; isFF3_5: boolean; isFF3_6: boolean; isFF4: boolean; isFF5: boolean; isFF10: boolean; isLinux: boolean; isWindows: boolean; isMac: boolean; chromeVersion: number; firefoxVersion: number; ieVersion: number; operaVersion: number; safariVersion: number; webKitVersion: number; isSecure: boolean; isiPhone: boolean; isiPod: boolean; isiPad: boolean; isBlackberry: boolean; isAndroid: boolean; isDesktop: boolean; isTablet: boolean; isPhone: boolean; iOS: boolean; standalone: boolean; } var Browser: Browser; export class CustomEnumerator implements System.Collections.IEnumerator { constructor(moveNext: Function, getCurrent: Function, reset?: Function, dispose?: Function, scope?: any); moveNext(): boolean; getCurrent(): any; reset(): void; Dispose(): void; readonly Current: any; } export class ArrayEnumerator implements System.Collections.IEnumerator { constructor(array: any[]); moveNext(): boolean; getCurrent(): any; reset(): void; Dispose(): void; readonly Current: any; } export class ArrayEnumerable implements System.Collections.IEnumerable { constructor(array: any[]); GetEnumerator(): ArrayEnumerator; } export interface Validation { isNull(value: any): boolean; isEmpty(value: any): boolean; isNotEmptyOrWhitespace(value: any): boolean; isNotNull(value: any): boolean; isNotEmpty(value: any): boolean; email(value: string): boolean; url(value: string): boolean; alpha(value: string): boolean; alphaNum(value: string): boolean; creditCard(value: string, type: string): boolean; } var Validation: Validation; module Collections { export interface EnumerableHelpers { } export interface EnumerableHelpersFunc extends Function { prototype: Bridge.Collections.EnumerableHelpers; new(): Bridge.Collections.EnumerableHelpers; ToArray(T: { prototype: T }, source: System.Collections.Generic.IEnumerable$1): T[]; ToArray$1(T: { prototype: T }, source: System.Collections.Generic.IEnumerable$1, length: { v: number }): T[]; } var EnumerableHelpers: EnumerableHelpersFunc; } } declare module System { export class Decimal { prototype: Decimal; static readonly Zero: Decimal; static readonly One: Decimal; static readonly MinusOne: Decimal; static readonly MaxValue: Decimal; static readonly MinValue: Decimal; constructor(value: any); abs(): Decimal; ceil(): Decimal; floor(): Decimal; comparedTo(d: Decimal): number; clone(): Decimal; neg(): Decimal; add(d: Decimal): Decimal; sub(d: Decimal): Decimal; inc(): Decimal; dec(): Decimal; mul(d: Decimal): Decimal; div(d: Decimal): Decimal; mod(d: Decimal): Decimal; equals(d: Decimal): boolean; ne(d: Decimal): boolean; gt(d: Decimal): boolean; gte(d: Decimal): boolean; lt(d: Decimal): boolean; lte(d: Decimal): boolean; trunc(): Decimal; static exp(d: Decimal): Decimal; static ln(d: Decimal): Decimal; static log(d: Decimal, logBase: Decimal): Decimal; static pow(d: Decimal, exponent: Decimal): Decimal; static sqrt(d: Decimal): Decimal; static tryParse(s: string, provider: System.Globalization.IFormatProvider, result: { v: Decimal }): boolean; static round(d: Decimal, mode: number): Decimal; static round(d: Decimal): Decimal; static toInt(d: Decimal): number; static toFloat(d: Decimal): number; } export class Single extends Number { static readonly max: number; static readonly min: number; static parse(s: string): number; static parse(s: string, radix: number): number; static tryParse(s: string, result: { v: number }): number; static tryParse(s: string, result: { v: number }, radix: number): number; static format(v: number, format: string): number; static format(v: number, format: string, provider: System.Globalization.IFormatProvider): number; } export class Double extends Number { static readonly max: number; static readonly min: number; static parse(s: string): number; static parse(s: string, radix: number): number; static tryParse(s: string, result: { v: number }): number; static tryParse(s: string, result: { v: number }, radix: number): number; static format(v: number, format: string): number; static format(v: number, format: string, provider: System.Globalization.IFormatProvider): number; } export class SByte extends Number { static parse(s: string): number; static parse(s: string, radix: number): number; static tryParse(s: string, result: { v: number }): number; static tryParse(s: string, result: { v: number }, radix: number): number; static format(v: number, format: string): number; static format(v: number, format: string, provider: System.Globalization.IFormatProvider): number; } export class Byte extends Number { static parse(s: string): number; static parse(s: string, radix: number): number; static tryParse(s: string, result: { v: number }): number; static tryParse(s: string, result: { v: number }, radix: number): number; static format(v: number, format: string): number; static format(v: number, format: string, provider: System.Globalization.IFormatProvider): number; } export class Int16 extends Number { static parse(s: string): number; static parse(s: string, radix: number): number; static tryParse(s: string, result: { v: number }): number; static tryParse(s: string, result: { v: number }, radix: number): number; static format(v: number, format: string): number; static format(v: number, format: string, provider: System.Globalization.IFormatProvider): number; } export class UInt16 extends Number { static parse(s: string): number; static parse(s: string, radix: number): number; static tryParse(s: string, result: { v: number }): number; static tryParse(s: string, result: { v: number }, radix: number): number; static format(v: number, format: string): number; static format(v: number, format: string, provider: System.Globalization.IFormatProvider): number; } export class UInt32 extends Number { static parse(s: string): number; static parse(s: string, radix: number): number; static tryParse(s: string, result: { v: number }): number; static tryParse(s: string, result: { v: number }, radix: number): number; static format(v: number, format: string): number; static format(v: number, format: string, provider: System.Globalization.IFormatProvider): number; } export class Int32 extends Number { static parse(s: string): number; static parse(s: string, radix: number): number; static tryParse(s: string, result: { v: number }): number; static tryParse(s: string, result: { v: number }, radix: number): number; static format(v: number, format: string): number; static format(v: number, format: string, provider: System.Globalization.IFormatProvider): number; } export class Int64 { static parse(s: string): number; static parse(s: string, radix: number): number; static tryParse(s: string, result: { v: number }): number; static tryParse(s: string, result: { v: number }, radix: number): number; static format(v: number, format: string): number; static format(v: number, format: string, provider: System.Globalization.IFormatProvider): number; } export class UInt64 { static parse(s: string): number; static parse(s: string, radix: number): number; static tryParse(s: string, result: { v: number }): number; static tryParse(s: string, result: { v: number }, radix: number): number; static format(v: number, format: string): number; static format(v: number, format: string, provider: System.Globalization.IFormatProvider): number; } export class Object { } export class Attribute { } export interface Nullable { prototype: Nullable; hasValue(obj: any): boolean; getValue(obj: T): T; getValue(obj: any): any; getValueOrDefault(obj: T, defValue: T): T; add(a: number, b: number): number; band(a: number, b: number): number; bor(a: number, b: number): number; and(a: boolean, b: boolean): boolean; or(a: boolean, b: boolean): boolean; div(a: number, b: number): number; eq(a: any, b: any): boolean; xor(a: number, b: number): number; gt(a: any, b: any): boolean; gte(a: any, b: any): boolean; neq(a: any, b: any): boolean; lt(a: any, b: any): boolean; lte(a: any, b: any): boolean; mod(a: number, b: number): number; mul(a: number, b: number): number; sl(a: number, b: number): number; sr(a: number, b: number): number; sub(a: number, b: number): number; bnot(a: number): number; neg(a: number): number; not(a: boolean): boolean; pos(a: number): number; } var Nullable: Nullable; export interface Char { prototype: Char; isWhiteSpace(value: string): boolean; isDigit(value: number): boolean; isLetter(value: number): boolean; isHighSurrogate(value: number): boolean; isLowSurrogate(value: number): boolean; isSurrogate(value: number): boolean; isSymbol(value: number): boolean; isSeparator(value: number): boolean; isPunctuation(value: number): boolean; isNumber(value: number): boolean; isControl(value: number): boolean; } var Char: Char; export interface String { prototype: String; isNullOrWhiteSpace(value: string): boolean; isNullOrEmpty(value: string): boolean; fromCharCount(c: number, count: number): string; format(str: string, ...args: any[]): string; alignString(str: string, alignment: number, pad: string, dir: number): string; startsWith(str: string, prefix: string): boolean; endsWith(str: string, suffix: string): boolean; contains(str: string, value: string): string; indexOfAny(str: string, anyOf: number[], startIndex?: number, length?: number): number; indexOf(str: string, value: string): number; compare(strA: string, strB: string): number; toCharArray(str: string, startIndex: number, length: number): number[]; } var String: String; export class Exception { constructor(message: string, innerException?: Exception); getMessage(): string; getInnerException(): Exception; getStackTrace(): any; getData(): T; toString(): string; static create(error: string): Exception; static create(error: Error): Exception; } export class SystemException extends Exception { constructor(message: string, innerException: Exception); constructor(message: string); } export class OutOfMemoryException extends SystemException { constructor(message: string, innerException: Exception); constructor(message: string); } export class IndexOutOfRangeException extends SystemException { constructor(message: string, innerException: Exception); constructor(message: string); } export class ArgumentException extends Exception { constructor(message: string, paramName: string, innerException: Exception); constructor(message: string, innerException: Exception); constructor(message: string); getParamName(): string; } export class ArgumentNullException extends ArgumentException { constructor(paramName: string, message?: string, innerException?: Exception); } export class ArgumentOutOfRangeException extends ArgumentException { constructor(paramName: string, message?: string, innerException?: Exception, actualValue?: any); getActualValue(): T; } export class ArithmeticException extends Exception { constructor(message?: string, innerException?: Exception); } export class DivideByZeroException extends ArithmeticException { constructor(message?: string, innerException?: Exception); } export class OverflowException extends ArithmeticException { constructor(message?: string, innerException?: Exception); } export class FormatException extends Exception { constructor(message?: string, innerException?: Exception); } export class InvalidCastException extends Exception { constructor(message?: string, innerException?: Exception); } export class InvalidOperationException extends Exception { constructor(message?: string, innerException?: Exception); } export class NotImplementedException extends Exception { constructor(message?: string, innerException?: Exception); } export class NotSupportedException extends Exception { constructor(message?: string, innerException?: Exception); } export class NullReferenceException extends Exception { constructor(message?: string, innerException?: Exception); } export interface IFormattable { format(format: string, formatProvider: IFormatProvider): string; } var IFormattable: Function; export interface IComparable { compareTo(obj: any): number; } var IComparable: Function; export interface IFormatProvider { getFormat(formatType: any): any; } export interface ICloneable { clone(): any; } var ICloneable: Function; export interface IComparable$1 { compareTo(other: T): number; } export function IComparable$1(t: Bridge.TypeRef): { prototype: IComparable$1; } export interface IEquatable$1 { equalsT(other: T): boolean; } export function IEquatable$1(t: Bridge.TypeRef): { prototype: IEquatable$1; } export interface IDisposable { Dispose(): void; } var IDisposable: Function; export interface DateTime { prototype: DateTime; utcNow(): Date; today(): Date; format(date: Date, format?: string, provider?: System.Globalization.DateTimeFormatInfo): string; parse(value: string, provider?: System.Globalization.DateTimeFormatInfo): Date; parseExact(str: string, format?: string, provider?: System.Globalization.DateTimeFormatInfo, silent?: boolean): Date; tryParse(str: string, provider: System.Globalization.DateTimeFormatInfo, result: { v: Date }): boolean; tryParseExact(str: string, format: string, provider: System.Globalization.DateTimeFormatInfo, result: { v: Date }): boolean; isDaylightSavingTime(dt: Date): boolean; toUTC(dt: Date): Date; toLocal(dt: Date): Date; } var DateTime: DateTime; export interface Guid extends System.IEquatable$1, System.IComparable$1, System.IFormattable { equalsT(o: System.Guid): boolean; compareTo(value: System.Guid): number; toString(): string; ToString(format: string): string; Format(format: string, formatProvider: System.IFormatProvider): string; ToByteArray(): number[]; getHashCode(): System.Guid; $clone(to: System.Guid): System.Guid; } export interface GuidFunc extends Function { prototype: Guid; $ctor4: { new(uuid: string): Guid; }; $ctor1: { new(b: number[]): Guid; }; $ctor5: { new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number): Guid; }; $ctor3: { new(a: number, b: number, c: number, d: number[]): Guid; }; $ctor2: { new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number): Guid; }; ctor: { new(): Guid; }; Empty: System.Guid; Parse(input: string): System.Guid; ParseExact(input: string, format: string): System.Guid; TryParse(input: string, result: { v: System.Guid }): boolean; TryParseExact(input: string, format: string, result: { v: System.Guid }): boolean; NewGuid(): System.Guid; op_Equality(a: System.Guid, b: System.Guid): boolean; op_Inequality(a: System.Guid, b: System.Guid): boolean; } var Guid: GuidFunc; export class TimeSpan implements IComparable, IComparable$1, IEquatable$1 { prototype: TimeSpan; static fromDays(value: number): TimeSpan; static fromHours(value: number): TimeSpan; static fromMilliseconds(value: number): TimeSpan; static fromMinutes(value: number): TimeSpan; static fromSeconds(value: number): TimeSpan; static fromTicks(value: number): TimeSpan; static getDefaultValue(): TimeSpan; constructor(); getTicks(): number; getDays(): number; getHours(): number; getMilliseconds(): number; getMinutes(): number; getSeconds(): number; getTotalDays(): number; getTotalHours(): number; getTotalMilliseconds(): number; getTotalMinutes(): number; getTotalSeconds(): number; get12HourHour(): number; add(ts: TimeSpan): TimeSpan; subtract(ts: TimeSpan): TimeSpan; duration(): TimeSpan; negate(): TimeSpan; compareTo(other: TimeSpan): number; equalsT(other: TimeSpan): boolean; format(str: string, provider?: System.Globalization.DateTimeFormatInfo): string; toString(str: string, provider?: System.Globalization.DateTimeFormatInfo): string; } export interface Random { Sample(): number; InternalSample(): number; Next(): number; Next$2(minValue: number, maxValue: number): number; Next$1(maxValue: number): number; NextDouble(): number; NextBytes(buffer: number[]): void; } export interface RandomFunc extends Function { prototype: Random; ctor: { new(): Random; }; $ctor1: { new(seed: number): Random; }; } var Random: RandomFunc; module Collections { export interface IEnumerable { GetEnumerator(): IEnumerator; } var IEnumerable: Function; export interface IEnumerator { getCurrent(): any; moveNext(): boolean; reset(): void; readonly Current: any; } var IEnumerator: Function; export interface IEqualityComparer { equals(x: any, y: any): boolean; getHashCode(obj: any): number; } var IEqualityComparer: Function; export interface ICollection extends IEnumerable { getCount(): number; System$Collections$IList$Count: number; Count: number; } var ICollection: Function; export interface BitArray extends System.Collections.ICollection, System.ICloneable { GetItem(index: number): boolean; SetItem(index: number, value: boolean): void; Length: number; Count: number; IsReadOnly: boolean; IsSynchronized: boolean; CopyTo(array: Array, index: number): void; Get(index: number): boolean; Set(index: number, value: boolean): void; SetAll(value: boolean): void; And(value: System.Collections.BitArray): System.Collections.BitArray; Or(value: System.Collections.BitArray): System.Collections.BitArray; Xor(value: System.Collections.BitArray): System.Collections.BitArray; Not(): System.Collections.BitArray; Clone(): any; GetEnumerator(): System.Collections.IEnumerator; } export interface BitArrayFunc extends Function { prototype: BitArray; BitArrayEnumeratorSimple: System.Collections.BitArray.BitArrayEnumeratorSimpleFunc; $ctor3: { new(length: number): BitArray }; $ctor4: { new(length: number, defaultValue: boolean): BitArray }; $ctor1: { new(bytes: number[]): BitArray }; ctor: { new(values: boolean[]): BitArray }; $ctor5: { new(values: number[]): BitArray }; $ctor2: { new(bits: System.Collections.BitArray): BitArray }; getArrayLength(n: number, div: number): number; } var BitArray: BitArrayFunc; module BitArray { export interface BitArrayEnumeratorSimple extends System.Collections.IEnumerator { Current: any; moveNext(): boolean; reset(): void; } export interface BitArrayEnumeratorSimpleFunc extends Function { prototype: BitArrayEnumeratorSimple; } } export interface HashHelpers { } export interface HashHelpersFunc extends Function { prototype: HashHelpers; new(): HashHelpers; primes: number[]; MaxPrimeArrayLength: number; isPrime(candidate: number): boolean; getPrime(min: number): number; getMinPrime(): number; expandPrime(oldSize: number): number; } var HashHelpers: HashHelpersFunc; export interface IList extends System.Collections.ICollection, System.Collections.IEnumerable { System$Collections$IList$getItem(index: number): any; getItem(index: number): any; System$Collections$IList$setItem(index: number, value: any): void; setItem(index: number, value: any): void; System$Collections$IList$IsReadOnly: boolean; IsReadOnly: boolean; add(item: any): number; System$Collections$IList$add(item: any): number; clear(): void; System$Collections$IList$clear(): void; contains(item: any): boolean; System$Collections$IList$contains(item: any): boolean; indexOf(item: any): number; System$Collections$IList$indexOf(item: any): number; insert(index: number, item: any): void; System$Collections$IList$insert(index: number, item: any): void; removeAt(index: number): void; System$Collections$IList$removeAt(index: number): void; remove(item: any): void; System$Collections$IList$remove(item: any): void; } export interface IDictionaryEnumerator extends System.Collections.IEnumerator { System$Collections$IDictionaryEnumerator$Key: any | null; Key: any | null; System$Collections$IDictionaryEnumerator$Value: any | null; Value: any | null; System$Collections$IDictionaryEnumerator$Entry: System.Collections.DictionaryEntry; Entry: System.Collections.DictionaryEntry; } export interface DictionaryEntry { Key: any | null; Value: any | null; getHashCode(): number; equals(o: System.Collections.DictionaryEntry): boolean; $clone(to: System.Collections.DictionaryEntry): System.Collections.DictionaryEntry; } export interface DictionaryEntryFunc extends Function { prototype: DictionaryEntry; new(key: any | null, value: any | null): DictionaryEntry; } var DictionaryEntry: DictionaryEntryFunc; module Generic { export class KeyNotFoundException extends Exception { constructor(message?: string, innerException?: Exception); } export interface IEnumerator$1 extends IEnumerator { getCurrent(): T; readonly Current: T; } export function IEnumerator$1(t: Bridge.TypeRef): { prototype: IEnumerator$1; } export interface IEnumerable$1 extends IEnumerable { GetEnumerator(): IEnumerator$1; } export function IEnumerable$1(t: Bridge.TypeRef): { prototype: IEnumerable$1; } export interface ICollection$1 extends IEnumerable$1 { getCount(): number; add(item: T): void; clear(): void; contains(item: T): boolean; remove(item: T): boolean; } export function ICollection$1(t: Bridge.TypeRef): { prototype: ICollection$1; } export interface IEqualityComparer$1 extends IEqualityComparer { equals(x: T, y: T): boolean; getHashCode(obj: T): number; } export function IEqualityComparer$1(t: Bridge.TypeRef): { prototype: IEqualityComparer$1; } export interface IReadOnlyCollection$1 extends IEnumerable$1 { Count: number; } export interface IReadOnlyList$1 extends IReadOnlyCollection$1 { getItem(index: number): T; } export interface IReadOnlyDictionary$2 extends IReadOnlyCollection$1>, System.Collections.Generic.IEnumerable$1> { getItem(key: TKey): TValue; Keys: System.Collections.Generic.IEnumerable$1 | null; Values: System.Collections.Generic.IEnumerable$1 | null; containsKey(key: TKey): boolean; tryGetValue(key: TKey, value: { v: TValue }): boolean; } export interface ReadOnlyDictionary$2 extends System.Collections.Generic.IDictionary$2, System.Collections.Generic.IReadOnlyDictionary$2 { Keys: System.Collections.ObjectModel.ReadOnlyDictionary$2.KeyCollection | null; Values: System.Collections.ObjectModel.ReadOnlyDictionary$2.ValueCollection | null; getItem(key: TKey): TValue; System$Collections$IDictionary$getItem(key: any): any; System$Collections$IDictionary$setItem(key: any, value: any): void; Count: number; containsKey(key: TKey): boolean; tryGetValue(key: TKey, value: { v: TValue }): boolean; GetEnumerator(): System.Collections.Generic.IEnumerator$1> | null; } interface ReadOnlyDictionary$2Func extends Function { ($TKey: Bridge.TypeRef, $TValue: Bridge.TypeRef): { prototype: ReadOnlyDictionary$2; KeyCollection: System.Collections.ObjectModel.ReadOnlyDictionary$2.KeyCollectionFunc; ValueCollection: System.Collections.ObjectModel.ReadOnlyDictionary$2.ValueCollectionFunc; DictionaryEnumerator: System.Collections.ObjectModel.ReadOnlyDictionary$2.DictionaryEnumeratorFunc; new(dictionary: System.Collections.Generic.IDictionary$2 | null): ReadOnlyDictionary$2; } } var ReadOnlyDictionary$2: ReadOnlyDictionary$2Func; module ReadOnlyDictionary$2 { interface KeyCollection extends System.Collections.Generic.ICollection$1, System.Collections.ICollection, System.Collections.Generic.IReadOnlyCollection$1 { Count: number; copyTo(array: TKey[] | null, arrayIndex: number): void; GetEnumerator(): System.Collections.Generic.IEnumerator$1 | null; } interface KeyCollectionFunc extends Function { ($TKey: Bridge.TypeRef, $TValue: Bridge.TypeRef): { prototype: KeyCollection; } } interface ValueCollection extends System.Collections.Generic.ICollection$1, System.Collections.ICollection, System.Collections.Generic.IReadOnlyCollection$1 { Count: number; copyTo(array: TValue[] | null, arrayIndex: number): void; GetEnumerator(): System.Collections.Generic.IEnumerator$1 | null; } interface ValueCollectionFunc extends Function { ($TKey: Bridge.TypeRef, $TValue: Bridge.TypeRef): { prototype: ValueCollection; } } interface DictionaryEnumerator extends System.Collections.IDictionaryEnumerator { Entry: System.Collections.DictionaryEntry; Key: any | null; Value: any | null; Current: any | null; moveNext(): boolean; reset(): void; getHashCode(): number; equals(o: System.Collections.ObjectModel.ReadOnlyDictionary$2.DictionaryEnumerator): boolean; $clone(to: System.Collections.ObjectModel.ReadOnlyDictionary$2.DictionaryEnumerator): System.Collections.ObjectModel.ReadOnlyDictionary$2.DictionaryEnumerator; } interface DictionaryEnumeratorFunc extends Function { ($TKey: Bridge.TypeRef, $TValue: Bridge.TypeRef): { prototype: DictionaryEnumerator; new(dictionary: System.Collections.Generic.IDictionary$2 | null): DictionaryEnumerator; } } } export interface IDictionary$2 extends IEnumerable$1> { get(key: TKey): TValue; set(key: TKey, value: TValue): void; getKeys(): ICollection$1; getValues(): ICollection$1; getCount(): number; containsKey(key: TKey): boolean; add(key: TKey, value: TValue): void; remove(key: TKey): boolean; tryGetValue(key: TKey, value: { v: TValue }): boolean; } export function IDictionary$2(tKey: Bridge.TypeRef, tValue: Bridge.TypeRef): { prototype: IDictionary$2; } export interface IList$1 extends ICollection$1 { getItem(index: number): T; setItem(index: number, value: T): void; indexOf(item: T): number; insert(index: number, item: T): void; removeAt(index: number): void; } export function IList$1(t: Bridge.TypeRef): { prototype: IList$1; } export interface IComparer$1 { compare(x: T, y: T): number; } export function IComparer$1(t: Bridge.TypeRef): { prototype: IComparer$1; } export interface EqualityComparer$1 extends IEqualityComparer$1 { equals(x: T, y: T): boolean; getHashCode(obj: T): number; } export function EqualityComparer$1(t: Bridge.TypeRef): { prototype: EqualityComparer$1; new(): EqualityComparer$1; } export interface Comparer$1 extends IComparer$1 { compare(x: T, y: T): number; } export function Comparer$1(t: Bridge.TypeRef): { prototype: Comparer$1; new(fn: { (x: T, y: T): number }): Comparer$1; } export interface KeyValuePair$2 { key: TKey; value: TValue; } export function KeyValuePair$2(tKey: Bridge.TypeRef, tValue: Bridge.TypeRef): { prototype: KeyValuePair$2; new(key: TKey, value: TValue): KeyValuePair$2; } export interface Dictionary$2 extends IDictionary$2 { getKeys(): ICollection$1; getValues(): ICollection$1; clear(): void; containsKey(key: TKey): boolean; containsValue(value: TValue): boolean; get(key: TKey): TValue; set(key: TKey, value: TValue, add?: boolean): void; add(key: TKey, value: TValue): void; remove(key: TKey): boolean; getCount(): number; getComparer(): IEqualityComparer$1; tryGetValue(key: TKey, value: { v: TValue }): boolean; GetEnumerator(): IEnumerator$1>; } export function Dictionary$2(tKey: Bridge.TypeRef, tValue: Bridge.TypeRef): { prototype: Dictionary$2; new(): Dictionary$2; new(obj: Dictionary$2, comparer?: IEqualityComparer$1): Dictionary$2; new(obj: any, comparer?: IEqualityComparer$1): Dictionary$2; } export interface List$1 extends System.Collections.Generic.IList$1 { Capacity: number; Count: number; System$Collections$IList$IsReadOnly: boolean; GetItem(index: number): T; SetItem(index: number, value: T): void; System$Collections$IList$GetItem(index: number): any; System$Collections$IList$SetItem(index: number, value: any): void; Add(item: T): void; System$Collections$IList$Add(item: any): number; AddRange(collection: System.Collections.Generic.IEnumerable$1): void; AsReadOnly(): System.Collections.ObjectModel.ReadOnlyCollection$1; BinarySearch$2(index: number, count: number, item: T, comparer: System.Collections.Generic.IComparer$1): number; BinarySearch(item: T): number; BinarySearch$1(item: T, comparer: System.Collections.Generic.IComparer$1): number; Clear(): void; Contains(item: T): boolean; System$Collections$IList$Contains(item: any): boolean; ConvertAll(TOutput: { prototype: TOutput }, converter: { (input: T): TOutput }): System.Collections.Generic.List$1; CopyTo$1(array: T[]): void; System$Collections$ICollection$CopyTo(array: any[], arrayIndex: number): void; CopyTo$2(index: number, array: T[], arrayIndex: number, count: number): void; CopyTo(array: T[], arrayIndex: number): void; EnsureCapacity(min: number): void; Exists(match: { (obj: T): boolean }): boolean; Find(match: { (obj: T): boolean }): T; FindAll(match: { (obj: T): boolean }): System.Collections.Generic.List$1; FindIndex$2(match: { (obj: T): boolean }): number; FindIndex$1(startIndex: number, match: { (obj: T): boolean }): number; FindIndex(startIndex: number, count: number, match: { (obj: T): boolean }): number; FindLast(match: { (obj: T): boolean }): T; FindLastIndex$2(match: { (obj: T): boolean }): number; FindLastIndex$1(startIndex: number, match: { (obj: T): boolean }): number; FindLastIndex(startIndex: number, count: number, match: { (obj: T): boolean }): number; ForEach(action: { (arg: T): void }): void; GetEnumerator(): IEnumerator$1; System$Collections$IEnumerable$GetEnumerator(): System.Collections.IEnumerator; GetRange(index: number, count: number): System.Collections.Generic.List$1; IndexOf(item: T): number; System$Collections$IList$IndexOf(item: any): number; IndexOf$1(item: T, index: number): number; IndexOf$2(item: T, index: number, count: number): number; Insert(index: number, item: T): void; System$Collections$IList$Insert(index: number, item: any): void; InsertRange(index: number, collection: System.Collections.Generic.IEnumerable$1): void; LastIndexOf(item: T): number; LastIndexOf$1(item: T, index: number): number; LastIndexOf$2(item: T, index: number, count: number): number; Remove(item: T): boolean; System$Collections$IList$Remove(item: any): void; RemoveAll(match: { (obj: T): boolean }): number; RemoveAt(index: number): void; RemoveRange(index: number, count: number): void; Reverse(): void; Reverse$1(index: number, count: number): void; Sort(): void; Sort$1(comparer: System.Collections.Generic.IComparer$1): void; Sort$3(index: number, count: number, comparer: System.Collections.Generic.IComparer$1): void; Sort$2(comparison: { (x: T, y: T): number }): void; ToArray(): T[]; TrimExcess(): void; TrueForAll(match: { (obj: T): boolean }): boolean; toJSON(): any; } export interface List$1Func extends Function { ($T: Bridge.TypeRef): { prototype: List$1; new(): List$1; ctor: { new(): List$1 }; $ctor2: { new(capacity: number): List$1 }; $ctor1: { new(collection: System.Collections.Generic.IEnumerable$1): List$1 new(collection: T[]): List$1 }; IsCompatibleObject(value: any): boolean; } } var List$1: List$1Func; export interface LinkedListNode$1 { List: System.Collections.Generic.LinkedList$1 | null; Next: System.Collections.Generic.LinkedListNode$1 | null; Previous: System.Collections.Generic.LinkedListNode$1 | null; Value: T; } export interface LinkedListNode$1Func extends Function { ($T: Bridge.TypeRef): { prototype: LinkedListNode$1; ctor: { new(value: T): LinkedListNode$1 }; } } var LinkedListNode$1: LinkedListNode$1Func; export interface LinkedList$1 extends System.Collections.Generic.ICollection$1, System.Collections.ICollection, System.Collections.Generic.IReadOnlyCollection$1 { Count: number; First: System.Collections.Generic.LinkedListNode$1 | null; Last: System.Collections.Generic.LinkedListNode$1 | null; AddAfter(node: System.Collections.Generic.LinkedListNode$1 | null, value: T): System.Collections.Generic.LinkedListNode$1 | null; AddAfter$1(node: System.Collections.Generic.LinkedListNode$1 | null, newNode: System.Collections.Generic.LinkedListNode$1 | null): void; AddBefore(node: System.Collections.Generic.LinkedListNode$1 | null, value: T): System.Collections.Generic.LinkedListNode$1 | null; AddBefore$1(node: System.Collections.Generic.LinkedListNode$1 | null, newNode: System.Collections.Generic.LinkedListNode$1 | null): void; AddFirst(value: T): System.Collections.Generic.LinkedListNode$1 | null; AddFirst$1(node: System.Collections.Generic.LinkedListNode$1 | null): void; AddLast(value: T): System.Collections.Generic.LinkedListNode$1 | null; AddLast$1(node: System.Collections.Generic.LinkedListNode$1 | null): void; clear(): void; contains(value: T): boolean; copyTo(array: T[] | null, index: number): void; Find(value: T): System.Collections.Generic.LinkedListNode$1 | null; FindLast(value: T): System.Collections.Generic.LinkedListNode$1 | null; GetEnumerator(): IEnumerator$1; remove(value: T): boolean; Remove(node: System.Collections.Generic.LinkedListNode$1 | null): void; RemoveFirst(): void; RemoveLast(): void; } export interface LinkedList$1Func extends Function { ($T: Bridge.TypeRef): { prototype: LinkedList$1; Enumerator: IEnumerator$1; new(): LinkedList$1; ctor: { new(): LinkedList$1 }; $ctor1: { new(collection: System.Collections.Generic.IEnumerable$1 | null): LinkedList$1 }; } } var LinkedList$1: LinkedList$1Func; export interface SortedList$2 extends System.Collections.Generic.IDictionary$2, System.Collections.Generic.IReadOnlyDictionary$2 { Capacity: number; Comparer: System.Collections.Generic.IComparer$1 | null; Count: number; Keys: System.Collections.Generic.IList$1 | null; Values: System.Collections.Generic.IList$1 | null; getItem(key: TKey): TValue; setItem(key: TKey, value: TValue): void; getItem$1(key: any): any; setItem$1(key: any, value: any): void; add(key: TKey, value: TValue): void; remove(key: TKey): boolean; clear(): void; containsKey(key: TKey): boolean; ContainsValue(value: TValue): boolean; GetEnumerator(): System.Collections.Generic.IEnumerator$1> | null; IndexOfKey(key: TKey): number; IndexOfValue(value: TValue): number; tryGetValue(key: TKey, value: { v: TValue }): boolean; RemoveAt(index: number): void; TrimExcess(): void; } export interface SortedList$2Func extends Function { ($TKey: Bridge.TypeRef, $TValue: Bridge.TypeRef): { prototype: SortedList$2; ValueList: System.Collections.Generic.SortedList$2.ValueListFunc; KeyList: System.Collections.Generic.SortedList$2.KeyListFunc; SortedListValueEnumerator: System.Collections.Generic.SortedList$2.SortedListValueEnumeratorFunc; Enumerator: System.Collections.Generic.SortedList$2.EnumeratorFunc; SortedListKeyEnumerator: System.Collections.Generic.SortedList$2.SortedListKeyEnumeratorFunc; new(): SortedList$2; ctor: { new(): SortedList$2 }; $ctor4: { new(capacity: number): SortedList$2 }; $ctor1: { new(comparer: System.Collections.Generic.IComparer$1 | null): SortedList$2 }; $ctor5: { new(capacity: number, comparer: System.Collections.Generic.IComparer$1 | null): SortedList$2 }; $ctor2: { new(dictionary: System.Collections.Generic.IDictionary$2 | null): SortedList$2 }; $ctor3: { new(dictionary: System.Collections.Generic.IDictionary$2 | null, comparer: System.Collections.Generic.IComparer$1 | null): SortedList$2 }; } } var SortedList$2: SortedList$2Func; module SortedList$2 { export interface ValueList extends System.Collections.Generic.IList$1, System.Collections.ICollection { Count: number; IsReadOnly: boolean; getItem(index: number): TValue; setItem(index: number, value: TValue): void; add(key: TValue): void; clear(): void; contains(value: TValue): boolean; copyTo(array: TValue[] | null, arrayIndex: number): void; insert(index: number, value: TValue): void; GetEnumerator(): System.Collections.Generic.IEnumerator$1 | null; indexOf(value: TValue): number; remove(value: TValue): boolean; removeAt(index: number): void; } export interface ValueListFunc extends Function { ($TKey: Bridge.TypeRef, $TValue: Bridge.TypeRef): { prototype: ValueList; } } export interface KeyList extends System.Collections.Generic.IList$1, System.Collections.ICollection { Count: number; IsReadOnly: boolean; getItem(index: number): TKey; setItem(index: number, value: TKey): void; add(key: TKey): void; clear(): void; contains(key: TKey): boolean; copyTo(array: TKey[] | null, arrayIndex: number): void; insert(index: number, value: TKey): void; GetEnumerator(): System.Collections.Generic.IEnumerator$1 | null; indexOf(key: TKey): number; remove(key: TKey): boolean; removeAt(index: number): void; } export interface KeyListFunc extends Function { ($TKey: Bridge.TypeRef, $TValue: Bridge.TypeRef): { prototype: KeyList; } } export interface SortedListValueEnumerator extends System.Collections.Generic.IEnumerator$1 { Current: TValue; Dispose(): void; moveNext(): boolean; } export interface SortedListValueEnumeratorFunc extends Function { ($TKey: Bridge.TypeRef, $TValue: Bridge.TypeRef): { prototype: SortedListValueEnumerator; } } export interface Enumerator extends System.Collections.Generic.IEnumerator$1> { Current: System.Collections.Generic.KeyValuePair$2; Dispose(): void; moveNext(): boolean; getHashCode(): number; equals(o: System.Collections.Generic.SortedList$2.Enumerator): boolean; $clone(to: System.Collections.Generic.SortedList$2.Enumerator): System.Collections.Generic.SortedList$2.Enumerator; } export interface EnumeratorFunc extends Function { ($TKey: Bridge.TypeRef, $TValue: Bridge.TypeRef): { prototype: Enumerator; } } export interface SortedListKeyEnumerator extends System.Collections.Generic.IEnumerator$1 { Current: TKey; Dispose(): void; moveNext(): boolean; } export interface SortedListKeyEnumeratorFunc extends Function { ($TKey: Bridge.TypeRef, $TValue: Bridge.TypeRef): { prototype: SortedListKeyEnumerator; } } } export interface SortedSet$1 extends System.Collections.Generic.ISet$1, System.Collections.Generic.ICollection$1, System.Collections.ICollection, System.Collections.Generic.IReadOnlyCollection$1 { Count: number; Comparer: System.Collections.Generic.IComparer$1 | null; Min: T; Max: T; add(item: T): boolean; remove(item: T): boolean; clear(): void; contains(item: T): boolean; CopyTo(array: T[] | null): void; copyTo(array: T[] | null, index: number): void; CopyTo$1(array: T[] | null, index: number, count: number): void; GetEnumerator(): System.Collections.Generic.SortedSet$1.Enumerator; unionWith(other: System.Collections.Generic.IEnumerable$1 | null): void; intersectWith(other: System.Collections.Generic.IEnumerable$1 | null): void; exceptWith(other: System.Collections.Generic.IEnumerable$1 | null): void; symmetricExceptWith(other: System.Collections.Generic.IEnumerable$1 | null): void; isSubsetOf(other: System.Collections.Generic.IEnumerable$1 | null): boolean; isProperSubsetOf(other: System.Collections.Generic.IEnumerable$1 | null): boolean; isSupersetOf(other: System.Collections.Generic.IEnumerable$1 | null): boolean; isProperSupersetOf(other: System.Collections.Generic.IEnumerable$1 | null): boolean; setEquals(other: System.Collections.Generic.IEnumerable$1 | null): boolean; overlaps(other: System.Collections.Generic.IEnumerable$1 | null): boolean; RemoveWhere(match: { (obj: T): boolean } | null): number; Reverse(): System.Collections.Generic.IEnumerable$1 | null; GetViewBetween(lowerValue: T, upperValue: T): System.Collections.Generic.SortedSet$1 | null; TryGetValue(equalValue: T, actualValue: { v: T }): boolean; } export interface SortedSet$1Func extends Function { ($T: Bridge.TypeRef): { prototype: SortedSet$1; TreeSubSet: System.Collections.Generic.SortedSet$1.TreeSubSetFunc; Node: System.Collections.Generic.SortedSet$1.NodeFunc; Enumerator: System.Collections.Generic.SortedSet$1.EnumeratorFunc; ElementCount: System.Collections.Generic.SortedSet$1.ElementCountFunc; new(): SortedSet$1; ctor: { new(): SortedSet$1 }; $ctor1: { new(comparer: System.Collections.Generic.IComparer$1 | null): SortedSet$1 }; $ctor2: { new(collection: System.Collections.Generic.IEnumerable$1 | null): SortedSet$1 }; $ctor3: { new(collection: System.Collections.Generic.IEnumerable$1 | null, comparer: System.Collections.Generic.IComparer$1 | null): SortedSet$1 }; CreateSetComparer(): System.Collections.Generic.IEqualityComparer$1> | null; CreateSetComparer$1(memberEqualityComparer: System.Collections.Generic.IEqualityComparer$1 | null): System.Collections.Generic.IEqualityComparer$1> | null; } } var SortedSet$1: SortedSet$1Func; module SortedSet$1 { export interface TreeSubSet extends System.Collections.Generic.SortedSet$1 { contains(item: T): boolean; clear(): void; GetViewBetween(lowerValue: T, upperValue: T): System.Collections.Generic.SortedSet$1 | null; } export interface TreeSubSetFunc extends Function { ($T: Bridge.TypeRef): { prototype: TreeSubSet; $ctor1: { new(Underlying: System.Collections.Generic.SortedSet$1 | null, Min: T, Max: T, lowerBoundActive: boolean, upperBoundActive: boolean): TreeSubSet }; } } export interface Node { IsRed: boolean; Item: T; Left: System.Collections.Generic.SortedSet$1.Node | null; Right: System.Collections.Generic.SortedSet$1.Node | null; } export interface NodeFunc extends Function { ($T: Bridge.TypeRef): { prototype: Node; ctor: { new(item: T): Node }; $ctor1: { new(item: T, isRed: boolean): Node }; } } export interface Enumerator extends System.Collections.Generic.IEnumerator$1 { Current: T; moveNext(): boolean; Dispose(): void; getHashCode(): number; equals(o: System.Collections.Generic.SortedSet$1.Enumerator): boolean; $clone(to: System.Collections.Generic.SortedSet$1.Enumerator): System.Collections.Generic.SortedSet$1.Enumerator; } export interface EnumeratorFunc extends Function { ($T: Bridge.TypeRef): { prototype: Enumerator; } } export interface ElementCount { getHashCode(): number; equals(o: System.Collections.Generic.SortedSet$1.ElementCount): boolean; $clone(to: System.Collections.Generic.SortedSet$1.ElementCount): System.Collections.Generic.SortedSet$1.ElementCount; } export interface ElementCountFunc extends Function { ($T: Bridge.TypeRef): { prototype: ElementCount; new(): ElementCount; } } } export interface BitHelper { MarkBit(bitPosition: number): void; IsMarked(bitPosition: number): boolean; } export interface BitHelperFunc extends Function { prototype: BitHelper; IoIntArrayLength(n: number): number; } var BitHelper: BitHelperFunc; export interface ISet$1 extends System.Collections.Generic.ICollection$1 { Add(item: T): boolean; UnionWith(other: System.Collections.Generic.IEnumerable$1): void; IntersectWith(other: System.Collections.Generic.IEnumerable$1): void; ExceptWith(other: System.Collections.Generic.IEnumerable$1): void; SymmetricExceptWith(other: System.Collections.Generic.IEnumerable$1): void; IsSubsetOf(other: System.Collections.Generic.IEnumerable$1): boolean; IsSupersetOf(other: System.Collections.Generic.IEnumerable$1): boolean; IsProperSupersetOf(other: System.Collections.Generic.IEnumerable$1): boolean; IsProperSubsetOf(other: System.Collections.Generic.IEnumerable$1): boolean; Overlaps(other: System.Collections.Generic.IEnumerable$1): boolean; SetEquals(other: System.Collections.Generic.IEnumerable$1): boolean; } export interface HashSet$1 extends System.Collections.Generic.ICollection$1, System.Collections.Generic.ISet$1 { Count: number; IsReadOnly: boolean; Comparer: System.Collections.Generic.IEqualityComparer$1; //"System$Collections$Generic$ICollection$1$" + Bridge.getTypeAlias(T) + "$add"(item: T): void; Add(item: T): boolean; Clear(): void; ArrayClear(array: Array, index: number, length: number): void; Contains(item: T): boolean; CopyTo(array: T[], arrayIndex: number): void; CopyTo$1(array: T[]): void; CopyTo$2(array: T[], arrayIndex: number, count: number): void; Remove(item: T): boolean; GetEnumerator(): System.Collections.Generic.HashSet$1.Enumerator; System$Collections$IEnumerable$GetEnumerator(): System.Collections.IEnumerator; UnionWith(other: System.Collections.Generic.IEnumerable$1): void; IntersectWith(other: System.Collections.Generic.IEnumerable$1): void; ExceptWith(other: System.Collections.Generic.IEnumerable$1): void; SymmetricExceptWith(other: System.Collections.Generic.IEnumerable$1): void; IsSubsetOf(other: System.Collections.Generic.IEnumerable$1): boolean; IsProperSubsetOf(other: System.Collections.Generic.IEnumerable$1): boolean; IsSupersetOf(other: System.Collections.Generic.IEnumerable$1): boolean; IsProperSupersetOf(other: System.Collections.Generic.IEnumerable$1): boolean; Overlaps(other: System.Collections.Generic.IEnumerable$1): boolean; SetEquals(other: System.Collections.Generic.IEnumerable$1): boolean; RemoveWhere(match: { (arg: T): boolean }): number; TrimExcess(): void; Initialize(capacity: number): void; IncreaseCapacity(): void; SetCapacity(newSize: number, forceNewHashCodes: boolean): void; AddIfNotPresent(value: T): boolean; ContainsAllElements(other: System.Collections.Generic.IEnumerable$1): boolean; IsSubsetOfHashSetWithSameEC(other: System.Collections.Generic.HashSet$1): boolean; IntersectWithHashSetWithSameEC(other: System.Collections.Generic.HashSet$1): void; IntersectWithEnumerable(other: System.Collections.Generic.IEnumerable$1): void; InternalIndexOf(item: T): number; SymmetricExceptWithUniqueHashSet(other: System.Collections.Generic.HashSet$1): void; SymmetricExceptWithEnumerable(other: System.Collections.Generic.IEnumerable$1): void; AddOrGetLocation(value: T, location: { v: number }): boolean; CheckUniqueAndUnfoundElements(other: System.Collections.Generic.IEnumerable$1, returnIfUnfound: boolean): System.Collections.Generic.HashSet$1.ElementCount; ToArray(): T[]; InternalGetHashCode(item: T): number; } export interface HashSet$1Func extends Function { ($T: Bridge.TypeRef): { prototype: HashSet$1; ElementCount: System.Collections.Generic.HashSet$1.ElementCountFunc; Enumerator: System.Collections.Generic.HashSet$1.EnumeratorFunc; Slot: System.Collections.Generic.HashSet$1.SlotFunc; new(): HashSet$1; ctor: { new(): HashSet$1 }; $ctor3: { new(comparer: System.Collections.Generic.IEqualityComparer$1): HashSet$1 }; $ctor1: { new(collection: System.Collections.Generic.IEnumerable$1): HashSet$1 }; $ctor2: { new(collection: System.Collections.Generic.IEnumerable$1, comparer: System.Collections.Generic.IEqualityComparer$1): HashSet$1 }; HashSetEquals(set1: System.Collections.Generic.HashSet$1, set2: System.Collections.Generic.HashSet$1, comparer: System.Collections.Generic.IEqualityComparer$1): boolean; AreEqualityComparersEqual(set1: System.Collections.Generic.HashSet$1, set2: System.Collections.Generic.HashSet$1): boolean; } } var HashSet$1: HashSet$1Func; module HashSet$1 { export interface ElementCount { getHashCode(): System.Collections.Generic.HashSet$1.ElementCount; equals(o: System.Collections.Generic.HashSet$1.ElementCount): Boolean; $clone(to: System.Collections.Generic.HashSet$1.ElementCount): System.Collections.Generic.HashSet$1.ElementCount; } export interface ElementCountFunc extends Function { ($T: Bridge.TypeRef): { prototype: ElementCount; new(): ElementCount; } } export interface Enumerator extends System.Collections.Generic.IEnumerator$1 { Current: T; System$Collections$IEnumerator$Current: any; Dispose(): void; moveNext(): boolean; System$Collections$IEnumerator$reset(): void; getHashCode(): System.Collections.Generic.HashSet$1.Enumerator; equals(o: System.Collections.Generic.HashSet$1.Enumerator): Boolean; $clone(to: System.Collections.Generic.HashSet$1.Enumerator): System.Collections.Generic.HashSet$1.Enumerator; } export interface EnumeratorFunc extends Function { ($T: Bridge.TypeRef): { prototype: Enumerator; new(): Enumerator; ctor: { new(): Enumerator }; } } export interface Slot { getHashCode(): System.Collections.Generic.HashSet$1.Slot; equals(o: System.Collections.Generic.HashSet$1.Slot): Boolean; $clone(to: System.Collections.Generic.HashSet$1.Slot): System.Collections.Generic.HashSet$1.Slot; } export interface SlotFunc extends Function { ($T: Bridge.TypeRef): { prototype: Slot; new(): Slot; } } } export interface Queue$1 extends System.Collections.Generic.IEnumerable$1, System.Collections.ICollection { Count: number; IsReadOnly: boolean; CopyTo(array: Array, index: number): void; CopyTo$1(array: T[], arrayIndex: number): void; Clear(): void; Enqueue(item: T): void; GetEnumerator(): System.Collections.Generic.Queue$1.Enumerator; System$Collections$IEnumerable$GetEnumerator(): System.Collections.IEnumerator; Dequeue(): T; Peek(): T; Contains(item: T): boolean; GetElement(i: number): T; ToArray(): T[]; SetCapacity(capacity: number): void; MoveNext(index: number): number; TrimExcess(): void; } export interface Queue$1Func extends Function { ($T: Bridge.TypeRef): { prototype: Queue$1; Enumerator: System.Collections.Generic.Queue$1.EnumeratorFunc; new(): Queue$1; ctor: { new(): Queue$1 }; $ctor2: { new(capacity: number): Queue$1 }; $ctor1: { new(collection: System.Collections.Generic.IEnumerable$1): Queue$1 }; } } var Queue$1: Queue$1Func; module Queue$1 { export interface Enumerator extends System.Collections.Generic.IEnumerator$1 { Current: T; System$Collections$IEnumerator$Current: any; Dispose(): void; moveNext(): boolean; System$Collections$IEnumerator$reset(): void; getHashCode(): System.Collections.Generic.Queue$1.Enumerator; equals(o: System.Collections.Generic.Queue$1.Enumerator): Boolean; $clone(to: System.Collections.Generic.Queue$1.Enumerator): System.Collections.Generic.Queue$1.Enumerator; } export interface EnumeratorFunc extends Function { ($T: Bridge.TypeRef): { prototype: Enumerator; new(): Enumerator; ctor: { new(): Enumerator }; } } } export interface Stack$1 extends System.Collections.Generic.IEnumerable$1, System.Collections.ICollection { Count: number; IsReadOnly: boolean; Clear(): void; Contains(item: T): boolean; CopyTo$1(array: T[], arrayIndex: number): void; CopyTo(array: Array, arrayIndex: number): void; GetEnumerator(): System.Collections.Generic.Stack$1.Enumerator; System$Collections$IEnumerable$GetEnumerator(): System.Collections.IEnumerator; TrimExcess(): void; Peek(): T; Pop(): T; Push(item: T): void; ToArray(): T[]; } export interface Stack$1Func extends Function { ($T: Bridge.TypeRef): { prototype: Stack$1; Enumerator: System.Collections.Generic.Stack$1.EnumeratorFunc; new(): Stack$1; ctor: { new(): Stack$1 }; $ctor2: { new(capacity: number): Stack$1 }; $ctor1: { new(collection: System.Collections.Generic.IEnumerable$1): Stack$1 }; } } var Stack$1: Stack$1Func; module Stack$1 { export interface Enumerator extends System.Collections.Generic.IEnumerator$1 { Current: T; System$Collections$IEnumerator$Current: any; Dispose(): void; moveNext(): boolean; System$Collections$IEnumerator$reset(): void; getHashCode(): System.Collections.Generic.Stack$1.Enumerator; equals(o: System.Collections.Generic.Stack$1.Enumerator): Boolean; $clone(to: System.Collections.Generic.Stack$1.Enumerator): System.Collections.Generic.Stack$1.Enumerator; } export interface EnumeratorFunc extends Function { ($T: Bridge.TypeRef): { prototype: Enumerator; new(): Enumerator; ctor: { new(): Enumerator }; } } } } module ObjectModel { export interface ReadOnlyCollection$1 extends System.Collections.Generic.List$1 { } export function ReadOnlyCollection$1(t: Bridge.TypeRef): { prototype: ReadOnlyCollection$1; new(obj: T[]): ReadOnlyCollection$1; new(obj: System.Collections.Generic.IEnumerable$1): ReadOnlyCollection$1; } export interface ReadOnlyDictionary$2 extends System.Collections.Generic.IDictionary$2, System.Collections.Generic.IReadOnlyDictionary$2 { Keys: System.Collections.ObjectModel.ReadOnlyDictionary$2.KeyCollection | null; Values: System.Collections.ObjectModel.ReadOnlyDictionary$2.ValueCollection | null; getItem(key: TKey): TValue; System$Collections$IDictionary$getItem(key: any): any; System$Collections$IDictionary$setItem(key: any, value: any): void; Count: number; containsKey(key: TKey): boolean; tryGetValue(key: TKey, value: { v: TValue }): boolean; GetEnumerator(): System.Collections.Generic.IEnumerator$1> | null; } export interface ReadOnlyDictionary$2Func extends Function { ($TKey: Bridge.TypeRef, $TValue: Bridge.TypeRef): { prototype: ReadOnlyDictionary$2; KeyCollection: System.Collections.ObjectModel.ReadOnlyDictionary$2.KeyCollectionFunc; ValueCollection: System.Collections.ObjectModel.ReadOnlyDictionary$2.ValueCollectionFunc; DictionaryEnumerator: System.Collections.ObjectModel.ReadOnlyDictionary$2.DictionaryEnumeratorFunc; new(dictionary: System.Collections.Generic.IDictionary$2 | null): ReadOnlyDictionary$2; } } var ReadOnlyDictionary$2: ReadOnlyDictionary$2Func; module ReadOnlyDictionary$2 { export interface KeyCollection extends System.Collections.Generic.ICollection$1, System.Collections.ICollection, System.Collections.Generic.IReadOnlyCollection$1 { Count: number; copyTo(array: TKey[] | null, arrayIndex: number): void; GetEnumerator(): System.Collections.Generic.IEnumerator$1 | null; } export interface KeyCollectionFunc extends Function { ($TKey: Bridge.TypeRef, $TValue: Bridge.TypeRef): { prototype: KeyCollection; } } export interface ValueCollection extends System.Collections.Generic.ICollection$1, System.Collections.ICollection, System.Collections.Generic.IReadOnlyCollection$1 { Count: number; copyTo(array: TValue[] | null, arrayIndex: number): void; GetEnumerator(): System.Collections.Generic.IEnumerator$1 | null; } export interface ValueCollectionFunc extends Function { ($TKey: Bridge.TypeRef, $TValue: Bridge.TypeRef): { prototype: ValueCollection; } } export interface DictionaryEnumerator extends System.Collections.IDictionaryEnumerator { Entry: System.Collections.DictionaryEntry; Key: any | null; Value: any | null; Current: any | null; moveNext(): boolean; reset(): void; getHashCode(): number; equals(o: System.Collections.ObjectModel.ReadOnlyDictionary$2.DictionaryEnumerator): boolean; $clone(to: System.Collections.ObjectModel.ReadOnlyDictionary$2.DictionaryEnumerator): System.Collections.ObjectModel.ReadOnlyDictionary$2.DictionaryEnumerator; } export interface DictionaryEnumeratorFunc extends Function { ($TKey: Bridge.TypeRef, $TValue: Bridge.TypeRef): { prototype: DictionaryEnumerator; new(dictionary: System.Collections.Generic.IDictionary$2 | null): DictionaryEnumerator; } } } interface ReadOnlyDictionaryHelpers { } interface ReadOnlyDictionaryHelpersFunc extends Function { prototype: ReadOnlyDictionaryHelpers; new(): ReadOnlyDictionaryHelpers; } var ReadOnlyDictionaryHelpers: ReadOnlyDictionaryHelpersFunc; } } module ComponentModel { export interface INotifyPropertyChanged { propertyChanged(sender: any, e: PropertyChangedEventArgs): void; } var INotifyPropertyChanged: Function; export class PropertyChangedEventArgs { constructor(propertyName: string); propertyName: string; } } module Globalization { export interface IFormatProvider { getFormat(formatType: Function): any; } export class CultureNotFoundException extends ArgumentException { constructor(paramName: string, invalidCultureName?: string, message?: string, innerException?: Exception); getInvalidCultureName(): string; } export class DateTimeFormatInfo implements IFormatProvider, ICloneable { invariantInfo: DateTimeFormatInfo; clone(): any; getFormat(type: any): any; getAbbreviatedDayName(dayofweek: number): string; getAbbreviatedMonthName(month: number): string; getAllDateTimePatterns(format: string, returnNull?: boolean): string[]; getDayName(dayofweek: number): string; getMonthName(month: number): string; getShortestDayName(dayofweek: number): string; } export class NumberFormatInfo implements IFormatProvider, ICloneable { invariantInfo: NumberFormatInfo; clone(): any; getFormat(type: any): any; } export class CultureInfo implements IFormatProvider, ICloneable { constructor(name: string); invariantCulture: CultureInfo; clone(): any; getFormat(type: any): any; static getCurrentCulture(): CultureInfo; static setCurrentCulture(culture: CultureInfo): void; static getCultureInfo(name: string): CultureInfo; static getCultures(): CultureInfo[]; } } module Text { export class StringBuilder { constructor(); constructor(value: string); constructor(value: string, capacity: number); constructor(value: string, startIndex: number, length: number); getLength(): number; getCapacity(): number; setCapacity(value: number): void; toString(startIndex?: number, length?: number): string; append(value: string): StringBuilder; append(value: string, count: number): StringBuilder; append(value: string, startIndex: number, count: number): StringBuilder; appendFormat(format: string, ...args: string[]): StringBuilder; clear(): void; appendLine(): StringBuilder; equals(sb: StringBuilder): boolean; remove(startIndex: number, length: number): StringBuilder; insert(index: number, value: string, count?: number): StringBuilder; replace(oldValue: string, newValue: string, startIndex?: number, count?: number): StringBuilder; } export interface UTF32Encoding extends System.Text.Encoding { CodePage: number; EncodingName: string; ToCodePoints(str: string): number[]; Encode$3(s: string, outputBytes: number[], outputIndex: number, writtenBytes: { v: number }): number[]; Decode$2(bytes: number[], index: number, count: number, chars: number[], charIndex: number): string; GetMaxByteCount(charCount: number): number; GetMaxCharCount(byteCount: number): number; } export interface UTF32EncodingFunc extends Function { prototype: UTF32Encoding; new(): UTF32Encoding; ctor: { new(): UTF32Encoding }; $ctor1: { new(bigEndian: boolean, byteOrderMark: boolean): UTF32Encoding }; $ctor2: { new(bigEndian: boolean, byteOrderMark: boolean, throwOnInvalidBytes: boolean): UTF32Encoding }; } var UTF32Encoding: UTF32EncodingFunc; export interface UnicodeEncoding extends System.Text.Encoding { CodePage: number; EncodingName: string; Encode$3(s: string, outputBytes: number[], outputIndex: number, writtenBytes: { v: number }): number[]; Decode$2(bytes: number[], index: number, count: number, chars: number[], charIndex: number): string; GetMaxByteCount(charCount: number): number; GetMaxCharCount(byteCount: number): number; } export interface UnicodeEncodingFunc extends Function { prototype: UnicodeEncoding; new(): UnicodeEncoding; ctor: { new(): UnicodeEncoding }; $ctor1: { new(bigEndian: boolean, byteOrderMark: boolean): UnicodeEncoding }; $ctor2: { new(bigEndian: boolean, byteOrderMark: boolean, throwOnInvalidBytes: boolean): UnicodeEncoding }; } var UnicodeEncoding: UnicodeEncodingFunc; export interface ASCIIEncoding extends System.Text.Encoding { CodePage: number; EncodingName: string; Encode$3(s: string, outputBytes: number[], outputIndex: number, writtenBytes: { v: number }): number[]; Decode$2(bytes: number[], index: number, count: number, chars: number[], charIndex: number): string; GetMaxByteCount(charCount: number): number; GetMaxCharCount(byteCount: number): number; } export interface ASCIIEncodingFunc extends Function { prototype: ASCIIEncoding; new(): ASCIIEncoding; } var ASCIIEncoding: ASCIIEncodingFunc; export interface Encoding { CodePage: number; EncodingName: string; Encode$1(chars: number[], index: number, count: number): number[]; Encode$5(s: string, index: number, count: number, outputBytes: number[], outputIndex: number): number; Encode$4(chars: number[], index: number, count: number, outputBytes: number[], outputIndex: number): number; Encode(chars: number[]): number[]; Encode$2(str: string): number[]; Decode$1(bytes: number[], index: number, count: number): string; Decode(bytes: number[]): string; GetByteCount(chars: number[]): number; GetByteCount$2(s: string): number; GetByteCount$1(chars: number[], index: number, count: number): number; GetBytes(chars: number[]): number[]; GetBytes$1(chars: number[], index: number, count: number): number[]; GetBytes$3(chars: number[], charIndex: number, charCount: number, bytes: number[], byteIndex: number): number; GetBytes$2(s: string): number[]; GetBytes$4(s: string, charIndex: number, charCount: number, bytes: number[], byteIndex: number): number; GetCharCount(bytes: number[]): number; GetCharCount$1(bytes: number[], index: number, count: number): number; GetChars(bytes: number[]): number[]; GetChars$1(bytes: number[], index: number, count: number): number[]; GetChars$2(bytes: number[], byteIndex: number, byteCount: number, chars: number[], charIndex: number): number; GetString(bytes: number[]): string; GetString$1(bytes: number[], index: number, count: number): string; } export interface EncodingFunc extends Function { prototype: Encoding; new(): Encoding; Default: System.Text.Encoding; Unicode: System.Text.Encoding; ASCII: System.Text.Encoding; BigEndianUnicode: System.Text.Encoding; UTF7: System.Text.Encoding; UTF8: System.Text.Encoding; UTF32: System.Text.Encoding; Convert(srcEncoding: System.Text.Encoding, dstEncoding: System.Text.Encoding, bytes: number[]): number[]; Convert$1(srcEncoding: System.Text.Encoding, dstEncoding: System.Text.Encoding, bytes: number[], index: number, count: number): number[]; GetEncoding(codepage: number): System.Text.Encoding; GetEncoding$1(codepage: string): System.Text.Encoding; GetEncodings(): System.Text.EncodingInfo[]; } var Encoding: EncodingFunc; export interface EncodingInfo { CodePage: number; Name: string; DisplayName: string; GetEncoding(): System.Text.Encoding; GetHashCode(): number; Equals(o: any): boolean; } export interface EncodingInfoFunc extends Function { prototype: EncodingInfo; } var EncodingInfo: EncodingInfoFunc; export interface UTF7Encoding extends System.Text.Encoding { CodePage: number; EncodingName: string; Encode$3(s: string, outputBytes: number[], outputIndex: number, writtenBytes: { v: number }): number[]; Decode$2(bytes: number[], index: number, count: number, chars: number[], charIndex: number): string; GetMaxByteCount(charCount: number): number; GetMaxCharCount(byteCount: number): number; } export interface UTF7EncodingFunc extends Function { prototype: UTF7Encoding; new(): UTF7Encoding; ctor: { new(): UTF7Encoding }; $ctor1: { new(allowOptionals: boolean): UTF7Encoding }; Escape(chars: string): string; } var UTF7Encoding: UTF7EncodingFunc; export interface UTF8Encoding extends System.Text.Encoding { CodePage: number; EncodingName: string; Encode$3(s: string, outputBytes: number[], outputIndex: number, writtenBytes: { v: number }): number[]; Decode$2(bytes: number[], index: number, count: number, chars: number[], charIndex: number): string; GetMaxByteCount(charCount: number): number; GetMaxCharCount(byteCount: number): number; } export interface UTF8EncodingFunc extends Function { prototype: UTF8Encoding; new(): UTF8Encoding; ctor: { new(): UTF8Encoding }; $ctor1: { new(encoderShouldEmitUTF8Identifier: boolean): UTF8Encoding }; $ctor2: { new(encoderShouldEmitUTF8Identifier: boolean, throwOnInvalidBytes: boolean): UTF8Encoding }; } var UTF8Encoding: UTF8EncodingFunc; } module Threading { module Tasks { export class Task { constructor(action: Function, state?: any); static delay(delay: number, state?: any): Task; static fromResult(result: any): Task; static run(fn: Function): Task; static whenAll(tasks: Task[]): Task; static whenAny(tasks: Task[]): Task; static fromCallback(target: any, method: string, ...otherArguments: any[]): Task; static fromCallbackResult(target: any, method: string, resultHandler: Function, ...otherArguments: any[]): Task; static fromCallbackOptions(target: any, method: string, name: string, ...otherArguments: any[]): Task; static fromPromise(promise: Bridge.IPromise, handler: Function): Task; continueWith(continuationAction: Function): Task; start(): void; complete(result?: any): boolean; isCanceled(): boolean; isCompleted(): boolean; isFaulted(): boolean; setCanceled(): void; setError(error: Exception): void; } export class Task$1 extends Task { constructor(action: () => TResult); constructor(action: (fn: any) => TResult, state: any); getResult(): TResult; continueWith(continuationAction: (arg: Task$1) => void): Task; continueWith(continuationAction: (arg: Task$1) => TNewResult): Task$1; setResult(result: TResult): void; } } } } declare module Bridge.Linq { interface EnumerableStatic { Utils: { createLambda(expression: any): (...params: any[]) => any; createEnumerable(GetEnumerator: () => System.Collections.IEnumerator): Enumerable; createEnumerator(initialize: () => void, tryGetNext: () => boolean, dispose: () => void): System.Collections.IEnumerator; extendTo(type: any): void; }; choice(...params: any[]): Enumerable; cycle(...params: any[]): Enumerable; empty(): Enumerable; from(): Enumerable; from(obj: Enumerable): Enumerable; from(obj: string): Enumerable; from(obj: number): Enumerable; from(obj: { length: number;[x: number]: any; }): Enumerable; from(obj: any): Enumerable; make(element: any): Enumerable; matches(input: string, pattern: RegExp): Enumerable; matches(input: string, pattern: string, flags?: string): Enumerable; range(start: number, count: number, step?: number): Enumerable; rangeDown(start: number, count: number, step?: number): Enumerable; rangeTo(start: number, to: number, step?: number): Enumerable; repeat(element: any, count?: number): Enumerable; repeatWithFinalize(initializer: () => any, finalizer: (element: any) => void): Enumerable; generate(func: () => any, count?: number): Enumerable; toInfinity(start?: number, step?: number): Enumerable; toNegativeInfinity(start?: number, step?: number): Enumerable; unfold(seed: any, func: (value: any) => any): Enumerable; defer(enumerableFactory: () => Enumerable): Enumerable; } interface Enumerable { constructor(GetEnumerator: () => System.Collections.IEnumerator): Enumerable; GetEnumerator(): System.Collections.IEnumerator; // Extension Methods traverseBreadthFirst(func: (element: any) => Enumerable, resultSelector?: (element: any, nestLevel: number) => any): Enumerable; traverseDepthFirst(func: (element: any) => Enumerable, resultSelector?: (element: any, nestLevel: number) => any): Enumerable; flatten(): Enumerable; pairwise(selector: (prev: any, current: any) => any): Enumerable; scan(func: (prev: any, current: any) => any): Enumerable; scan(seed: any, func: (prev: any, current: any) => any): Enumerable; select(selector: (element: any, index: number) => any): Enumerable; selectMany(collectionSelector: (element: any, index: number) => any[], resultSelector?: (outer: any, inner: any) => any): Enumerable; selectMany(collectionSelector: (element: any, index: number) => Enumerable, resultSelector?: (outer: any, inner: any) => any): Enumerable; selectMany(collectionSelector: (element: any, index: number) => { length: number;[x: number]: any; }, resultSelector?: (outer: any, inner: any) => any): Enumerable; where(predicate: (element: any, index: number) => boolean): Enumerable; choose(selector: (element: any, index: number) => any): Enumerable; ofType(type: any): Enumerable; zip(second: any[], resultSelector: (first: any, second: any, index: number) => any): Enumerable; zip(second: Enumerable, resultSelector: (first: any, second: any, index: number) => any): Enumerable; zip(second: { length: number;[x: number]: any; }, resultSelector: (first: any, second: any, index: number) => any): Enumerable; zip(...params: any[]): Enumerable; // last one is selector merge(second: any[], resultSelector: (first: any, second: any, index: number) => any): Enumerable; merge(second: Enumerable, resultSelector: (first: any, second: any, index: number) => any): Enumerable; merge(second: { length: number;[x: number]: any; }, resultSelector: (first: any, second: any, index: number) => any): Enumerable; merge(...params: any[]): Enumerable; // last one is selector join(inner: Enumerable, outerKeySelector: (outer: any) => any, innerKeySelector: (inner: any) => any, resultSelector: (outer: any, inner: any) => any, compareSelector?: (obj: any) => any): Enumerable; groupJoin(inner: Enumerable, outerKeySelector: (outer: any) => any, innerKeySelector: (inner: any) => any, resultSelector: (outer: any, inner: any) => any, compareSelector?: (obj: any) => any): Enumerable; all(predicate: (element: any) => boolean): boolean; any(predicate?: (element: any) => boolean): boolean; isEmpty(): boolean; concat(...sequences: any[]): Enumerable; insert(index: number, second: any[]): Enumerable; insert(index: number, second: Enumerable): Enumerable; insert(index: number, second: { length: number;[x: number]: any; }): Enumerable; alternate(alternateValue: any): Enumerable; alternate(alternateSequence: any[]): Enumerable; alternate(alternateSequence: Enumerable): Enumerable; contains(value: any, compareSelector: (element: any) => any): Enumerable; contains(value: any): Enumerable; defaultIfEmpty(defaultValue?: any): Enumerable; distinct(compareSelector?: (element: any) => any): Enumerable; distinctUntilChanged(compareSelector: (element: any) => any): Enumerable; except(second: any[], compareSelector?: (element: any) => any): Enumerable; except(second: { length: number;[x: number]: any; }, compareSelector?: (element: any) => any): Enumerable; except(second: Enumerable, compareSelector?: (element: any) => any): Enumerable; intersect(second: any[], compareSelector?: (element: any) => any): Enumerable; intersect(second: { length: number;[x: number]: any; }, compareSelector?: (element: any) => any): Enumerable; intersect(second: Enumerable, compareSelector?: (element: any) => any): Enumerable; sequenceEqual(second: any[], compareSelector?: (element: any) => any): Enumerable; sequenceEqual(second: { length: number;[x: number]: any; }, compareSelector?: (element: any) => any): Enumerable; sequenceEqual(second: Enumerable, compareSelector?: (element: any) => any): Enumerable; union(second: any[], compareSelector?: (element: any) => any): Enumerable; union(second: { length: number;[x: number]: any; }, compareSelector?: (element: any) => any): Enumerable; union(second: Enumerable, compareSelector?: (element: any) => any): Enumerable; orderBy(keySelector: (element: any) => any): OrderedEnumerable; orderByDescending(keySelector: (element: any) => any): OrderedEnumerable; reverse(): Enumerable; shuffle(): Enumerable; weightedSample(weightSelector: (element: any) => any): Enumerable; groupBy(keySelector: (element: any) => any, elementSelector?: (element: any) => any, resultSelector?: (key: any, element: any) => any, compareSelector?: (element: any) => any): Enumerable; partitionBy(keySelector: (element: any) => any, elementSelector?: (element: any) => any, resultSelector?: (key: any, element: any) => any, compareSelector?: (element: any) => any): Enumerable; buffer(count: number): Enumerable; aggregate(func: (prev: any, current: any) => any): any; aggregate(seed: any, func: (prev: any, current: any) => any, resultSelector?: (last: any) => any): any; average(selector?: (element: any) => any): number; count(predicate?: (element: any, index: number) => boolean): number; max(selector?: (element: any) => any): number; min(selector?: (element: any) => any): number; maxBy(keySelector: (element: any) => any): any; minBy(keySelector: (element: any) => any): any; sum(selector?: (element: any) => any): number; elementAt(index: number): any; elementAtOrDefault(index: number, defaultValue?: any): any; first(predicate?: (element: any, index: number) => boolean): any; firstOrDefault(predicate?: (element: any, index: number) => boolean, defaultValue?: any): any; last(predicate?: (element: any, index: number) => boolean): any; lastOrDefault(predicate?: (element: any, index: number) => boolean, defaultValue?: any): any; single(predicate?: (element: any, index: number) => boolean): any; singleOrDefault(predicate?: (element: any, index: number) => boolean, defaultValue?: any): any; skip(count: number): Enumerable; skipWhile(predicate: (element: any, index: number) => boolean): Enumerable; take(count: number): Enumerable; takeWhile(predicate: (element: any, index: number) => boolean): Enumerable; takeExceptLast(count?: number): Enumerable; takeFromLast(count: number): Enumerable; indexOf(item: any): number; indexOf(predicate: (element: any, index: number) => boolean): number; lastIndexOf(item: any): number; lastIndexOf(predicate: (element: any, index: number) => boolean): number; asEnumerable(): Enumerable; ToArray(): any[]; toLookup(keySelector: (element: any) => any, elementSelector?: (element: any) => any, compareSelector?: (element: any) => any): Lookup; toObject(keySelector: (element: any) => any, elementSelector?: (element: any) => any): Object; toDictionary(keySelector: (element: any) => any, elementSelector?: (element: any) => any, compareSelector?: (element: any) => any): Dictionary; toJSONString(replacer: (key: string, value: any) => any): string; toJSONString(replacer: any[]): string; toJSONString(replacer: (key: string, value: any) => any, space: any): string; toJSONString(replacer: any[], space: any): string; toJoinedString(separator?: string, selector?: (element: any, index: number) => any): string; doAction(action: (element: any, index: number) => void): Enumerable; doAction(action: (element: any, index: number) => boolean): Enumerable; forEach(action: (element: any, index: number) => void): void; forEach(action: (element: any, index: number) => boolean): void; write(separator?: string, selector?: (element: any) => any): void; writeLine(selector?: (element: any) => any): void; force(): void; letBind(func: (source: Enumerable) => any[]): Enumerable; letBind(func: (source: Enumerable) => { length: number;[x: number]: any; }): Enumerable; letBind(func: (source: Enumerable) => Enumerable): Enumerable; share(): DisposableEnumerable; memoize(): DisposableEnumerable; catchError(handler: (exception: any) => void): Enumerable; finallyAction(finallyAction: () => void): Enumerable; log(selector?: (element: any) => void): Enumerable; trace(message?: string, selector?: (element: any) => void): Enumerable; } interface OrderedEnumerable extends Enumerable { createOrderedEnumerable(keySelector: (element: any) => any, descending: boolean): OrderedEnumerable; thenBy(keySelector: (element: any) => any): OrderedEnumerable; thenByDescending(keySelector: (element: any) => any): OrderedEnumerable; } interface DisposableEnumerable extends Enumerable { Dispose(): void; } interface Dictionary { add(key: any, value: any): void; get(key: any): any; set(key: any, value: any): boolean; contains(key: any): boolean; clear(): void; remove(key: any): void; count(): number; toEnumerable(): Enumerable; // Enumerable } interface Lookup { count(): number; get(key: any): Enumerable; contains(key: any): boolean; toEnumerable(): Enumerable; // Enumerable } interface Grouping extends Enumerable { key(): any; } var Enumerable: EnumerableStatic; }