import type { FieldInputProps, UseFieldConfig } from 'react-final-form'; type CheckedConfig = Pick; /** * A checkbox without its own `value` that passes a custom `format`. * react-final-form 7.0.1 derives its `checked` from `parse(value)`, so a * string-boolean `format`/`parse` pair renders a stored `'false'` checked. * Upstream made that change on purpose, for a checkbox with a `value` * (react-final-form #1074), so Picasso keeps version 6's rule for good. * Group checkboxes and radios keep upstream's, which compares the stored value * with their own. */ export declare const derivesCheckedFromFormat: (config?: CheckedConfig) => config is CheckedConfig & Required>; /** * The input with version 6's `checked`, `format(value)`, for a checkbox that * `derivesCheckedFromFormat`. react-final-form formats the value for us, * except for an `allowNull` field holding `null`, and with `formatOnBlur`, * where the field holds what `parse` returned until a blur or a submit stores * what `format` returned. Version 6 formatted that again, so a blur unticked a * stored `'true'` */ export declare const withCheckedFromFormat: >(input: Input, config?: CheckedConfig) => Input; export {}; //# sourceMappingURL=checked-from-format.d.ts.map