import type { MutationOptions } from '../types'; import type { ExistingLegalEntity, PatchLegalEntity } from './legalEntity.types'; export type UpdateLegalEntity = (data: PatchLegalEntity) => Promise; export declare const useUpdateLegalEntity: (options?: Omit, "mutationFn" | "onSuccess">) => import("@tanstack/preact-query").UseMutationResult<{ readonly capabilities?: { [key: string]: import("./legalEntity.contract").components["schemas"]["LegalEntityCapabilityDto"]; } | undefined; readonly documentDetails?: import("./legalEntity.contract").components["schemas"]["DocumentReferenceResponse"][] | undefined; entityAssociations?: import("./legalEntity.contract").components["schemas"]["EntityAssociationDto"][] | undefined; readonly id: string; individual?: import("./legalEntity.contract").components["schemas"]["IndividualDto"] | undefined; organization?: import("./legalEntity.contract").components["schemas"]["OrganizationDto"] | undefined; readonly problems?: import("./legalEntity.contract").components["schemas"]["CapabilityProblemDto"][] | undefined; soleProprietorship?: import("./legalEntity.contract").components["schemas"]["SoleProprietorshipDto"] | undefined; readonly transferInstruments?: import("./legalEntity.contract").components["schemas"]["TransferInstrumentReferenceDto"][] | undefined; trust?: import("./legalEntity.contract").components["schemas"]["TrustDto"] | undefined; readonly trustedFields?: import("./legalEntity.contract").components["schemas"]["TrustedFieldsDto"][] | undefined; unincorporatedPartnership?: import("./legalEntity.contract").components["schemas"]["UnincorporatedPartnershipDto"] | undefined; type: import("./legalEntity.contract").components["schemas"]["LegalEntityType"]; }, Error, PatchLegalEntity, unknown>;