import type { JSONSupport } from "../../../../core/JSONSupport.js";

/**
 * This contains information about the post result.
 *
 * @since 4.28
 */
export default abstract class PostResult extends JSONSupport {
  /** Returns data moments of the post. */
  get moment(): Date | null | undefined;
  set moment(value: (Date | number | string) | null | undefined);
  /**
   * Specifies if the post rest call was successful.
   *
   * @default false
   */
  accessor success: boolean;
}