import type { FinancialInstrumentDto, FinancialInstrumentHttpRequest, UpdateFinancialInstrumentPayload } from '../types'; export interface UseUpdateFinancialInstrumentParams { documentId: string; /** Endpoint base de child (`/{id}/financial-instrument`); se le añade `/{fiId}`. */ financialInstrumentBaseEndpoint: string; httpRequest: FinancialInstrumentHttpRequest; } export interface UpdateFinancialInstrumentInput { financialInstrumentId: string; payload: UpdateFinancialInstrumentPayload; } /** * Modifica el Instrumento Financiero (`PUT /{id}/financial-instrument/{fiId}`) → * 200 + DTO. `rowVersion` viaja en el payload (concurrencia optimista); un 409 → * el panel surfacea y recarga. Cambiar el tipo sin permiso → 422 (FR-84). * * - `onSuccess`: reemplaza el IF en el cache (rowVersion incrementado). * - `onSettled`: invalida `['financial-instrument', documentId]`. */ export declare function useUpdateFinancialInstrument({ documentId, financialInstrumentBaseEndpoint, httpRequest, }: UseUpdateFinancialInstrumentParams): import("@tanstack/react-query").UseMutationResult; //# sourceMappingURL=useUpdateFinancialInstrument.d.ts.map