1 | import { Observable } from "rxjs";
|
2 | import { LocalData } from "./local-data";
|
3 | import { RemoteData } from "./remote-data";
|
4 | import { LocalDataFactory } from "./local-data-factory";
|
5 | import { RemoteDataFactory } from "./remote-data-factory";
|
6 | export declare class CompleterService {
|
7 | private localDataFactory;
|
8 | private remoteDataFactory;
|
9 | constructor(localDataFactory: LocalDataFactory,
|
10 | remoteDataFactory: RemoteDataFactory);
|
11 | local(data: any[] | Observable<any>, searchFields?: string | null, titleField?: string | null): LocalData;
|
12 | remote(url: string | null, searchFields?: string | null, titleField?: string | null): RemoteData;
|
13 | }
|