import type { ConfigAction } from '../actions/config'; import type { BaseField, CollectionsWithDefaults, UnknownField } from '../interface'; export type CollectionsState = CollectionsWithDefaults; declare function collections(state: CollectionsState | undefined, action: ConfigAction): CollectionsState; export default collections;