import type { LineFormModalProps } from './MasterDocument.types'; /** * LineFormModal — modal deslizante para crear o editar una línea del documento. * * En escritorio se muestra como un diálogo centrado; en móvil se presenta * como una hoja inferior (bottom sheet). Gestiona el formulario internamente * con `react-hook-form` y ejecuta las reglas de cálculo automático mediante * `ComputedRulesRunner`. * * @see FieldRenderer — renderiza cada campo del formulario * @see ComputedRule — tipo para las reglas de campos calculados * * @example * ```tsx * setLineModal({ open: false, lineId: null })} * onConfirm={(data) => handleLineSave(lineModal.lineId, data)} * fields={lineFields} * title="Nueva línea" * confirmLabel="Agregar línea" * /> * ``` */ export declare function LineFormModal({ open, onClose, onConfirm, onConfirmAndAddAnother, fields, initialData, computedRules, serverRules, onEvaluateServerRule, errors: externalErrors, busy, title, confirmLabel, cancelLabel, readOnly, docState, columns, sections, widgetSlot, dynamicEntitiesSlot, onFormValuesChange, lookupConfigs, fetcher, headerValues, serialSupport, serialReadOnly, validateSerial, fetchAvailableSerials, className, }: LineFormModalProps): import("react/jsx-runtime").JSX.Element | null; //# sourceMappingURL=LineFormModal.d.ts.map