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 { PostV1CompaniesCompanyIdPaySchedulesAssignmentPreviewRequest, PostV1CompaniesCompanyIdPaySchedulesAssignmentPreviewResponse } from "../models/operations/postv1companiescompanyidpayschedulesassignmentpreview.js"; import { MutationHookOptions } from "./_types.js"; export type PaySchedulesPreviewAssignmentMutationVariables = { request: PostV1CompaniesCompanyIdPaySchedulesAssignmentPreviewRequest; options?: RequestOptions; }; export type PaySchedulesPreviewAssignmentMutationData = PostV1CompaniesCompanyIdPaySchedulesAssignmentPreviewResponse; export type PaySchedulesPreviewAssignmentMutationError = NotFoundErrorObject | UnprocessableEntityError | GustoEmbeddedError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Preview pay schedule assignments for a company * * @remarks * This endpoint returns the employee changes, including pay period and transition pay periods, for changing the pay schedule. * * scope: `pay_schedules:write` */ export declare function usePaySchedulesPreviewAssignmentMutation(options?: MutationHookOptions): UseMutationResult; export declare function mutationKeyPaySchedulesPreviewAssignment(): MutationKey; export declare function buildPaySchedulesPreviewAssignmentMutation(client$: GustoEmbeddedCore, hookOptions?: RequestOptions): { mutationKey: MutationKey; mutationFn: (variables: PaySchedulesPreviewAssignmentMutationVariables) => Promise; }; //# sourceMappingURL=paySchedulesPreviewAssignment.d.ts.map