import type { ExistingLegalEntity, PatchLegalEntity } from '../../core/models/api/legal-entity'; import type { MutationOptions } from '../types'; type LegalEntityResponse = ExistingLegalEntity; export type UpdateLegalEntity = (data: PatchLegalEntity) => Promise; export declare const useUpdateLegalEntity: (options?: Omit, "mutationFn" | "onSuccess">) => import("@tanstack/preact-query").UseMutationResult<{ documentDetails?: import("../../core/models/api/document").DocumentDetail[] | undefined; entityAssociations?: import("../../core/models/api/legal-entity-association").LegalEntityAssociation[] | undefined; individual?: import("../../core/models/api/individual").Individual | undefined; organization?: import("../../core/models/api/organization").Organization | undefined; soleProprietorship?: import("../../core/models/api/sole-proprietor").SoleProprietor | undefined; trust?: import("../../core/models/api/trust").Trust | undefined; unincorporatedPartnership?: import("../../core/models/api/unincorporated-partnership").UnincorporatedPartnership | undefined; capabilities?: Partial> | undefined; problems?: import("../../core/models/api/problem").Problem[] | undefined; transferInstruments?: import("../../core/models/api/transfer-instrument").TransferInstrumentOverview[] | undefined; trustedFields?: import("../../core/models/api/legal-entity").LegalEntityTrustedFields[] | undefined; id: string; type: import("../../core/models/api/legal-entity-type").LegalEntityType; }, Error, PatchLegalEntity, unknown>; export {};