/** * Utilities for handling default values in form inputs based on InputMetadata configuration. */ import { InputMetadata } from '../../components/types'; /** * Resolves the initial value for a form input based on its configuration. * * @param input - The input metadata configuration * @returns The resolved initial value * * @example * // Custom default value * const customValue = resolveInputDefaultValue({ withDefault: '2025-06-24', type: InputType.DATE }); * * // Auto default value * const autoValue = resolveInputDefaultValue({ withDefault: true, type: InputType.NUMBER }); * * // Explicit value (takes precedence) * const explicitValue = resolveInputDefaultValue({ value: 'explicit', withDefault: true, type: InputType.TEXT }); */ export declare function resolveInputDefaultValue(input: InputMetadata): any; /** * Applies the resolved default value to a FormControl. * * @param input - The input metadata configuration * @example * const input = { control: myFormControl, type: InputType.DATE, withDefault: true }; * applyDefaultValueToControl(input); */ export declare function applyDefaultValueToControl(input: InputMetadata): void;