import { DocumentNode } from 'graphql'; import { CustomFieldConfig } from '../../common/generated-types'; /** * Checks the current documentNode for an operation with a variable named "CreateInput" or "UpdateInput" * and if a match is found, returns the name. */ export declare function isEntityCreateOrUpdateMutation(documentNode: DocumentNode): string | undefined; /** * Removes any `readonly` custom fields from an entity (including its translations). * To be used before submitting the entity for a create or update request. */ export declare function removeReadonlyCustomFields = any>(variables: T, customFieldConfig: CustomFieldConfig[]): T;