import { EventEmitter } from '../../stencil-public-runtime';
import { HistoryItem } from '../gd-user-dashboard-list-item/user-dashboard-list-item';
import { Datalist } from '../gd-user-dashboard/gd-user-dashboard';
export declare class GdUserDashboardImportDatalistDialog {
  /**
   * when to show the dialog
   */
  show: boolean;
  /**
   * the datalist to import history items from
   */
  datalist: Datalist;
  /**
   * event emitted when the dialog is closed
   */
  closed: EventEmitter<void>;
  /**
   * event emitted to import items
   */
  import: EventEmitter<Array<HistoryItem>>;
  /**
   * a visual state to show loading in the import button
   */
  importing: boolean;
  /**
   * whether the datalist is valid or not (has history items)
   */
  invalid: boolean;
  el: HTMLElement;
  componentDidLoad(): void;
  /**
   * anytime a new datalist is passed in, validate it and show errors if needed
   */
  validateDatalist(): void;
  handleClose(): void;
  importItems(): void;
  /**
   * renders the dialog
   */
  render(): any;
}
