import { Context } from "koa"; import { SimpleInput } from "../controls/simple-input.js"; import { FormDataValue } from "../form-types.js"; import { FieldParseResult, FormField } from "./field.js"; export declare class NumberField extends FormField { default_value: DefaultValue; options: Partial<{ max: number; min: number; decimalDigits: number; }>; constructor(required: Required, default_value: DefaultValue, options?: Partial<{ max: number; min: number; decimalDigits: number; }>); predicate: import("@sealcode/ts-predicates").Predicate; isValueValid(_: Context, value: unknown): Promise<{ valid: boolean; message: string; }>; parse(_: Context, value: FormDataValue): Promise>; getEmptyValue(): DefaultValue; getControl(): SimpleInput; }