export declare const fieldWithArcadeXRegex: RegExp;
export declare const fieldWithRelationshipRegex: RegExp;
/**
 * Helper function to check if field type is numeric.
 *
 * Note: OID is not considered a number by this function.
 *
 * @param fieldType The field type to check.
 */
export declare function isNumericFieldType(fieldType: string): boolean;
/**
 * Helper function to check if field type is searchable.
 *
 * @param fieldType The field type to check.
 * @returns True if the field type is searchable, else false.
 */
export declare function isFieldSearchable(fieldType: string | undefined): boolean;
/**
 * Retrieves the expression name from the given field string if an expression
 * exists.
 *
 * @param fieldWithExpression The field string that possibly contains the
 *   expression.
 * @returns The name of the expression or undefined if one can't be found.
 */
export declare function getArcadeExpressionFromField(fieldWithExpression: string | undefined): string | undefined;
/**
 * Determines if the given field contains an expression.
 *
 * @param fieldWithExpression The field string that possibly contains the
 *   expression.
 * @returns True if the field contains an arcade expression, else false.
 */
export declare function isArcadeExpressionField(fieldWithExpression: string | undefined): boolean;
/**
 * Retrieves the relationship id and attribute from the given field string if a
 * relationship exists.
 *
 * @param fieldWithRelationship The field string that possibly contains the
 *   relationship.
 * @returns The id of the relationship and the attribute or undefined for both
 *   if one can't be found.
 */
export declare function getRelationshipFromField(fieldWithRelationship: string | undefined): [relationshipId: string, attribute: string] | [relationshipId: undefined, attribute: undefined];
/**
 * Determines if the given field contains a relationship.
 *
 * @param fieldWithRelationship The field string that possibly contains the
 *   relationship.
 * @returns True if the field contains a relationship, else false.
 */
export declare function isRelationshipField(fieldWithRelationship: string | undefined): boolean;
