import { DataApi } from '@dvn/core/api';
import { DvnCardListViewI18n } from '@dvn/core/components/views/dvn-card-list-view/i18n';
import { InvalidationAction } from '@dvn/core/models/actions';
import { CardListViewConfig } from '@dvn/core/models/card-list-view-config';
import { Filter } from '@dvn/core/models/filter';
import { ListFetchState } from '@dvn/core/models/list-fetch-state';
import { DvnAppView } from '@dvn/core/models/view-class';
import { SozlukApi } from '@dvn/sozluk/api';
export declare class DvnAppViewListViewCard implements DvnAppView {
  list: ListFetchState;
  quickFilter?: Filter;
  strings?: DvnCardListViewI18n;
  view: CardListViewConfig;
  params: any;
  apiData: DataApi;
  apiSozluk: SozlukApi;
  el: HTMLElement;
  scrollPosition: 0;
  invalidate(_event: CustomEvent<InvalidationAction>): Promise<void>;
  /**
   * This method is called by the parent component when the parent is re-rendering its' content.
   * The list loses the scroll position when the parent is re-rendering so we set the list scroll
   * position manually to retain the last position.
   */
  retainPosition(): Promise<void>;
  componentWillLoad(): Promise<void>;
  fetchList(ignoreError?: boolean, invalidate?: boolean): void;
  onSimpleFilterChange: ({ filter }: any) => void;
  render(): any;
}
