/** * This Source Code is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Copyright (c) Infonomic Company Limited */ import type { ArrayField as ArrayFieldType, FieldAdminConfig } from '@byline/core'; export declare const ArrayField: ({ field, defaultValue, path, disableSorting, contentLocale, fieldAdmin, }: { field: ArrayFieldType; defaultValue: any; path: string; disableSorting?: boolean; /** * Active content locale, forwarded to each array item's fields so * localized widgets nested inside an array (e.g. a `localized` richText) * can render their locale badge. */ contentLocale?: string; /** * Admin overrides for the array's child fields, keyed by dotted, * index-free schema paths relative to this array ('answer', * 'filesGroup.publicationFile'). Schema paths address declarations, so * one entry applies to that field in every item. Arrives pre-sliced from * the enclosing widget (`FieldRenderer` / `GroupField`); exact-name * entries apply to the child, deeper entries are re-sliced and threaded * on (see `sliceFieldAdmin`). */ fieldAdmin?: Record; }) => import("react").JSX.Element;