import { Dataset, DatasetService } from '../../shared/types';
export declare class GdSubsetData {
  /**
   * short name + version of a dataset (ex. GLDAS_NOAH025_3H_2.1)
   */
  datasetIdentifier: string;
  /**
   * will contain the requested dataset
   */
  dataset: Dataset;
  /**
   * an array of the fetched datset's services
   */
  datasetServices: DatasetService[];
  /**
   * used to notify user when a dataset is being fetched
   */
  loadingDataset: boolean;
  /**
   * any errors encountered while loading the dataset
   */
  errorLoadingDataset: boolean;
  /**
   * either the user's selected service or the default service for this dataset
   */
  selectedService: DatasetService;
  /**
   * flags to determine when to show reset buttons on the accordion headers
   */
  showDownloadMethodResetButton: boolean;
  private client;
  componentDidLoad(): void;
  fetchDataset(): Promise<void>;
  /**
   * actions to take whenever a new dataset is loaded
   */
  datasetLoaded(): void;
  /**
   * resets the state to the default, removing any user selections
   */
  reset(): void;
  /**
   * default service will either be the OpenSearch service OR if only one service is passed in, we'll use that one
   *
   * @param service
   * @returns
   */
  isDefaultService(service: DatasetService): boolean;
  /**
   * sets the selected service or sets it to the default service
   * @param service
   */
  setSelectedService(service?: DatasetService): void;
  render(): any;
}
