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 { PutV1EmployeeFormSignRequest, PutV1EmployeeFormSignResponse } from "../models/operations/putv1employeeformsign.js"; import { MutationHookOptions } from "./_types.js"; export type EmployeeFormsSignMutationVariables = { request: PutV1EmployeeFormSignRequest; options?: RequestOptions; }; export type EmployeeFormsSignMutationData = PutV1EmployeeFormSignResponse; export type EmployeeFormsSignMutationError = NotFoundErrorObject | UnprocessableEntityError | GustoEmbeddedError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Sign an employee form * * @remarks * Sign an employee form. * * The optional preparer attributes are only valid for I-9 form. When a preparer is used, the * first name, last name, street address, city, state, and zip for that preparer are all required. * * scope: `employee_forms:sign` */ export declare function useEmployeeFormsSignMutation(options?: MutationHookOptions): UseMutationResult; export declare function mutationKeyEmployeeFormsSign(): MutationKey; export declare function buildEmployeeFormsSignMutation(client$: GustoEmbeddedCore, hookOptions?: RequestOptions): { mutationKey: MutationKey; mutationFn: (variables: EmployeeFormsSignMutationVariables) => Promise; }; //# sourceMappingURL=employeeFormsSign.d.ts.map