/** * 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 { CounterField, DecimalField, FieldComponentSlots, FloatField, IntegerField } from '@byline/core'; type NumericalValue = string | number | null; export declare const NumericalField: ({ field, value, defaultValue, onChange, id, path, components, }: { field: IntegerField | FloatField | DecimalField | CounterField; value?: string | number | null; defaultValue?: string | number | null; onChange?: (value: NumericalValue) => void; id?: string; path?: string; /** Optional UI component slot overrides from the admin config. */ components?: FieldComponentSlots; }) => import("react").JSX.Element; export {};