import { InjectFlags, Injector } from '@angular/core';
import { BaseDataSource, BaseDataSourceMetadata, BaseDataSourceViewer } from './base.data-source';
import { Observable } from 'rxjs';
import { DefinitionLoader, IdOrInstanceOrToken } from '@rxap/definition';
import * as i0 from "@angular/core";
export declare class DataSourceLoader extends DefinitionLoader {
    connect<Data>(dataSourceIdOrInstanceOrToken: IdOrInstanceOrToken<BaseDataSource<Data>>, viewer: BaseDataSourceViewer, metadata?: Partial<BaseDataSourceMetadata>, injector?: Injector, notFoundValue?: BaseDataSource<Data>, flags?: InjectFlags): Observable<Data>;
    static ɵfac: i0.ɵɵFactoryDeclaration<DataSourceLoader, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<DataSourceLoader>;
}
