export const VegaChipRuntimeMetricsPayloadDefinition = [
  {
    payloadKey: 'VARIANT_IS_FILLED_BACKGROUND',
    payloadDescription: 'Determines the rendering style for the chip',
    /**
     * The function checks if the `variant` property of the `host` element is not equal to 'filled-background'.
     * If it is, the function will return `true`.
     *
     * @param {HTMLElement} host - The element to check
     * @returns {boolean} A boolean value
     */
    payloadValue: (host) => host.variant === 'filled-background',
  },
  {
    payloadKey: 'VARIANT_IS_OUTLINED',
    payloadDescription: 'Determines the rendering style for the chip',
    /**
     * The function checks if the `variant` property of the `host` element is not equal to 'outlined'.
     * If it is, the function will return `true`.
     *
     * @param {HTMLElement} host - The element to check
     * @returns {boolean} A boolean value
     */
    payloadValue: (host) => host.variant === 'outlined',
  },
];
