import { DependencyContainer } from './DependencyContainer'; import { IDIService } from "./IDIService"; import { CancelationTokenSource } from './CancelationTokenSource'; import { IEnumerable } from "linq-to-typescript"; declare global { interface Array extends IEnumerable { } interface Uint8Array extends IEnumerable { } interface Uint8ClampedArray extends IEnumerable { } interface Uint16Array extends IEnumerable { } interface Uint32Array extends IEnumerable { } interface Int8Array extends IEnumerable { } interface Int16Array extends IEnumerable { } interface Int32Array extends IEnumerable { } interface Float32Array extends IEnumerable { } interface Float64Array extends IEnumerable { } interface Map extends IEnumerable<[K, V]> { } interface Set extends IEnumerable { } interface String extends IEnumerable { } namespace ExalusApi { function GetDependencyContainer(): DependencyContainer; } } export declare function GetDependencyContainer(): DependencyContainer; export declare class Api { static WorksInContextOf: string; static Version: number; static Init(): void; static IsAppServedFromControllerAsync(): Promise; static IsRunningFromLocalNetwork(hostname?: string): boolean; static GetAsync(classType: string, cancelationToken?: CancelationTokenSource): Promise; static GetWithTimeoutAsync(classType: string, timeout: number): Promise; static Get(classType: string): T; static SleepForAsync(miliseconds: number): Promise; static ExportStringAsFileToDownload(filename: string, content: string): HTMLAnchorElement; }