/// import "source-map-support/register"; declare global { namespace NodeJS { interface Global { XMLHttpRequest: XMLHttpRequest; } } } import { Observable } from "rxjs/Observable"; import "rxjs/add/observable/dom/ajax"; import "rxjs/add/observable/empty"; import "rxjs/add/observable/forkJoin"; import "rxjs/add/observable/from"; import "rxjs/add/observable/throw"; import "rxjs/add/observable/zip"; import "rxjs/add/operator/buffer"; import "rxjs/add/operator/bufferWhen"; import "rxjs/add/operator/catch"; import "rxjs/add/operator/concatAll"; import "rxjs/add/operator/debounceTime"; import "rxjs/add/operator/delay"; import "rxjs/add/operator/distinctUntilChanged"; import "rxjs/add/operator/do"; import "rxjs/add/operator/filter"; import "rxjs/add/operator/find"; import "rxjs/add/operator/mergeMap"; import "rxjs/add/operator/map"; import "rxjs/add/operator/multicast"; import "rxjs/add/operator/publishReplay"; import "rxjs/add/operator/race"; import "rxjs/add/operator/reduce"; import "rxjs/add/operator/skip"; import "rxjs/add/operator/toArray"; import "rx-extra/add/operator/throughNodeStream"; export declare const CONFIG_DEFAULT: { baseIri: string; context: string; dataSourcesMetadataHeadersIri: string; dataSourcesMetadataIri: string; http: { timeout: number; retryLimit: number; retryDelay: number; }; }; export interface DataSourcesMetadataHeaderRow { header: string; description: string; example_entry: string; id: string; name: string; "http://www.w3.org/1999/02/22-rdf-syntax-ns#datatype": string; } export declare class BridgeDb { config: any; dataSourceMappings$: any; getTSV: any; private xrefsRequestQueue; private xrefsResponseQueue; constructor(config?: Partial); attributes(organism: organism, xrefDataSource: string, xrefIdentifier: string): any; attributeSearch(organism: organism, query: string, attrName?: string): Observable; attributeSet(organism: organism): Observable; convertXrefDataSourceTo: Function; identifyHeaderNameForXrefDataSource: (input: string) => Observable; dataSourceProperties: (input: string) => Observable; isFreeSearchSupported(organism: organism): Observable; isMappingSupported(organism: organism, sourceXrefDataSource: string, targetXrefDataSource: string): Observable; organismProperties(organism: organism): Observable<{}>; organisms(): Observable<{}>; private parseXrefRow; search(organism: organism, query: string): Observable; sourceDataSources(organism: organism): Observable; targetDataSources(organism: organism): Observable; xrefExists(organism: organism, xrefDataSource: string, xrefIdentifier: string): Observable; xrefs(organism: organism, xrefDataSource: string, xrefIdentifier: string, desiredXrefDataSourceOrSources?: string): Observable; xrefsBatch: (organism: organism, oneOrMoreXrefDataSources: string | string[], xrefIdentifiers: string[], desiredXrefDataSourceOrSources?: string | string[]) => Observable<{ organism: string; inputXrefIdentifier: string; inputXrefDataSource: string; xrefs: Xref[]; }>; }