export interface Callback { (...args: any[]): any; } export interface IAnyObject { [key: string]: any; } export interface Window { chrome: { app: { [key: string]: any; }; }; history: any; addEventListener: any; innerWidth: any; innerHeight: any; onpopstate: any; performance: any; __vdrag_topo_error__: { [key: string]: any; }; } export declare enum SpanStatus { Ok = "ok", DeadlineExceeded = "deadline_exceeded", Unauthenticated = "unauthenticated", PermissionDenied = "permission_denied", NotFound = "not_found", ResourceExhausted = "resource_exhausted", InvalidArgument = "invalid_argument", Unimplemented = "unimplemented", Unavailable = "unavailable", InternalError = "internal_error", UnknownError = "unknown_error", Cancelled = "cancelled", AlreadyExists = "already_exists", FailedPrecondition = "failed_precondition", Aborted = "aborted", OutOfRange = "out_of_range", DataLoss = "data_loss" }