import { RequestOptionsFactory } from '@wix/sdk-types'; /** Creates a custom field. */ export declare function createCustomField(payload: object): RequestOptionsFactory; /** Retrieves a custom field by ID. */ export declare function getCustomField(payload: object): RequestOptionsFactory; /** * Retrieves a list of custom fields, given the provided paging. * * The fields are ordered by section in the following sequence: * - `GENERAL` * - `DISPLAY_INFO` * - `SOCIAL` * The fields in the same section are ordered by the field creation date. * * To change the order of fields in sections, call [Update Custom Fields Order](https://dev.wix.com/docs/rest/crm/members-contacts/members/custom-fields/custom-fields/update-custom-fields-order). */ export declare function listCustomFields(payload: object): RequestOptionsFactory; /** * Updates a custom field. * * When `fieldOrigin` value is `CUSTOM`, you can update the following fields: `name`, `defaultPrivacy`, `socialType`. * * When `fieldOrigin` value is `CONTACT` or `SYSTEM` you can only update the `defaultPrivacy` field. */ export declare function updateCustomField(payload: object): RequestOptionsFactory; /** * Deletes a custom field. * * The related custom field in the contacts list is also be removed. */ export declare function deleteCustomField(payload: object): RequestOptionsFactory; /** * Hides a custom field. * * The hidden field is removed from the members custom fields list, yet it's still available as a suggested field to add later. * * The related contacts custom field will still be available in the contacts list. */ export declare function hideCustomField(payload: object): RequestOptionsFactory; /** Updates the custom fields order in a section. */ export declare function updateCustomFieldsOrder(payload: object): RequestOptionsFactory;