import { ArrayUnionOrRemove, ErrorArrayFieldValueEmpty } from '../types';
/**
Returns a special value that can be used with (setDoc:1) or * updateDoc:1 that tells the server to remove the given elements from any array value that already exists on the server. All instances of each element specified will be removed from the array. If the field being modified is not already an array it will be overwritten with an empty array.

@param elements — The elements to remove from the array.

@returns
The FieldValue sentinel for use in a call to setDoc() or updateDoc()
 */
export declare const arrayRemove: <Elements extends unknown[]>(...elements: Elements extends [] ? ["Error: arrayUnion and arrayRemove need at least 1 argument"] : Elements) => ArrayUnionOrRemove<Elements[number]>;
