import { ApiError } from '@dvn/core/api';
import { GetItemResponse } from '@dvn/core/api/dto/get-item';
import { DataModel } from './data-model';
export declare class ItemFetchState {
  data: DataModel;
  error: ApiError;
  isPending: boolean;
  constructor(data?: DataModel, isPending?: boolean, error?: ApiError);
  static init: () => ItemFetchState;
  beforeFetch: () => ItemFetchState;
  afterFetch: (response: GetItemResponse) => ItemFetchState;
  afterFetchError: (error: ApiError) => ItemFetchState;
}
