import type { ClientField, FieldAffectingData, FieldPresentationalOnly } from 'payload'; /** * Flattens a collection's fields into a single array of fields, as long * as the fields do not affect data. * * @param fields * @param keepPresentationalFields if true, will skip flattening fields that are presentational only */ export declare const flattenFields: (fields: ClientField[], keepPresentationalFields?: boolean) => Array; export default flattenFields;