const WORKFLOW_FIELD_IDS = new Set([
    "a4f985d9-98b3-4b52-aaaf-4344f6e747c6",
    "3e76d4f1-7287-4c74-bfb0-7ee84bb62699",
]);
const WORKFLOW_FIELD_NAMES = new Set(["__workflow", "__workflow state"]);
function normalizeFieldIdentifier(value) {
    return value?.trim().replace(/[{}]/g, "").toLowerCase() ?? "";
}
export function isWorkflowMetadataField(fieldId, fieldName) {
    const normalizedFieldId = normalizeFieldIdentifier(fieldId);
    const normalizedFieldName = normalizeFieldIdentifier(fieldName);
    return (WORKFLOW_FIELD_IDS.has(normalizedFieldId) ||
        WORKFLOW_FIELD_NAMES.has(normalizedFieldId) ||
        WORKFLOW_FIELD_NAMES.has(normalizedFieldName));
}
//# sourceMappingURL=workflowFields.js.map