export const VegaFontRuntimeMetricsPayloadDefinition = [
  {
    payloadKey: 'VARIANT_IS_FONT_FIELD_LABEL',
    payloadDescription: 'Specifies the typography token used for styling the text within this component. A typography token includes values for font size and line height',
    /**
     * The function checks if the `variant` property of the `host` element is equal to 'font-field-label'.
     * If it is, the function will return `true`.
     *
     * @param {HTMLElement} host - The element to check
     * @returns {boolean} A boolean value
     */
    payloadValue: (host) => host.variant === 'font-field-label',
  },
  {
    payloadKey: 'VARIANT_IS_NOT_FONT_FIELD_LABEL',
    payloadDescription: 'Specifies the typography token used for styling the text within this component. A typography token includes values for font size and line height',
    /**
     * The function checks if the `variant` property of the `host` element is not equal to 'font-field-label'.
     * If it is, the function will return `true`.
     *
     * @param {HTMLElement} host - The element to check
     * @returns {boolean} A boolean value
     */
    payloadValue: (host) => host.variant !== 'font-field-label',
  },
];
