import { ApiError } from '@dvn/core/api';
import { EventEmitter } from '../../../../../stencil-public-runtime';
import { SepetApi } from '../../api/sepet-api';
import { Bucket } from '../../models/bucket';
import { Meta } from '@dvn/core/api/dto/query';
import { GetListResponse } from '@dvn/core/api/dto/list';
import { NavigationAction } from '@dvn/core/models/actions';
export declare class SepetFileExplorer {
  versionList: FileListFetchState;
  list: FileListFetchState;
  selectedVersion: string;
  error: ApiError;
  isPending: boolean;
  path: string;
  apiSepet: SepetApi;
  item?: Bucket;
  dismissFileExplorer: EventEmitter;
  componentWillLoad(): void;
  onAction(event: CustomEvent<NavigationAction>): void;
  fetchVersionList(): Promise<void>;
  fetchFileList(): Promise<void>;
  navigateToPath: (index: number) => void;
  isVersioningEnabled: () => boolean;
  render(): any;
}
declare class FileListFetchState {
  data: Array<string>;
  error: ApiError;
  isPending: boolean;
  meta: Meta;
  constructor(data?: Array<any>, meta?: Meta, isPending?: boolean, error?: ApiError);
  static init: () => FileListFetchState;
  beforeFetch: () => FileListFetchState;
  afterFetch: (response: GetListResponse<string>, append?: boolean) => FileListFetchState;
  afterFetchError: (error: ApiError) => FileListFetchState;
  isEndReached: () => boolean;
}
export {};
