import { MutationKey, UseMutationResult } from "@tanstack/react-query"; import { GustoEmbeddedCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { GustoEmbeddedError } from "../models/errors/gustoembeddederror.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { NotFoundErrorObject } from "../models/errors/notfounderrorobject.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { UnprocessableEntityError } from "../models/errors/unprocessableentityerror.js"; import { PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsRequest, PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsResponse } from "../models/operations/patchv1companiescompanyidpayrollsidpartnerdisbursements.js"; import { MutationHookOptions } from "./_types.js"; export type PayrollsPatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsMutationVariables = { request: PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsRequest; options?: RequestOptions; }; export type PayrollsPatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsMutationData = PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsResponse; export type PayrollsPatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsMutationError = NotFoundErrorObject | UnprocessableEntityError | GustoEmbeddedError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Update partner disbursements for a payroll * * @remarks * Update partner disbursements for a specific payroll. * * scope: `partner_disbursements:write` */ export declare function usePayrollsPatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsMutation(options?: MutationHookOptions): UseMutationResult; export declare function mutationKeyPayrollsPatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursements(): MutationKey; export declare function buildPayrollsPatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsMutation(client$: GustoEmbeddedCore, hookOptions?: RequestOptions): { mutationKey: MutationKey; mutationFn: (variables: PayrollsPatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsMutationVariables) => Promise; }; //# sourceMappingURL=payrollsPatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursements.d.ts.map