import { ClassComponent } from '../ts-helpers';

export interface FailedLoadEmits {
  /**
   * Emitted when the "Try again" button is clicked.
   */
  retry: () => void;
}

/**
 * **TSVue v2 - FailedLoad**
 *
 * _FailedLoad is a component used to display a standardized error message when data loading fails, providing a retry mechanism._
 *
 * --- ---
 * ![TSVue](https://ik.imagekit.io/kurniadev/TS-HEAD-BLACK.png)
 *
 * @group components
 */
declare class FailedLoad extends ClassComponent<
  unknown,
  unknown,
  FailedLoadEmits
> {}

export default FailedLoad;
