import type { ResponseRouteStatusGet } from "../../wp-api/status.get.js";

/**
 * This event is dispatched when the queue got a status update.
 * See also `fetchStatus`.
 */
export const STATUS_EVENT = "RealQueue/Status";

export type StatusEvent<AdditionalData extends Record<string, any> = object> = ResponseRouteStatusGet<AdditionalData>;
