import { Observable } from 'rxjs';

import { ListDataRequestModel } from './list-data-request.model';
import { ListDataResponseModel } from './list-data-response.model';

/**
 * @internal
 * @deprecated
 */
export abstract class ListDataProvider {
  constructor(public data?: Observable<any[]>) {}

  public abstract get(
    request: ListDataRequestModel,
  ): Observable<ListDataResponseModel>;

  public abstract count(): Observable<number>;
}
