import { CollectionConfig, Field } from 'payload'; /** * A higher order function that takes the collection config for the argument * @param incomingCollection * @returns {CollectionConfig} */ declare const withUsersCollection: (incomingCollection: Omit & { fields?: Field[] | undefined; }) => CollectionConfig; /** * A higher order function that takes the collection config and a Users collection slug for the arguments * @param incomingCollection * @param userCollectionSlug * @returns {CollectionConfig} */ declare const withAccountCollection: (incomingCollection: Omit & { fields?: Field[] | undefined; }, usersCollectionSlug: string) => CollectionConfig; export { withAccountCollection, withUsersCollection };