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 { PostV1EmployeesEmployeeIdTerminationsRequest, PostV1EmployeesEmployeeIdTerminationsResponse } from "../models/operations/postv1employeesemployeeidterminations.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Create an employee termination * * @remarks * Create a termination for an employee. The only things required are an effective date (their last day of work) and whether they should receive their wages in a one-off termination payroll or with the rest of the company. * * Note that some states require employees to receive their final wages within 24 hours (unless they consent otherwise,) in which case running a one-off payroll may be the only option. * * scope: `employments:write` * * If set, this operation will use {@link Security.companyAccessAuth} from the global security. */ export declare function employeeEmploymentsCreateTermination(client: GustoEmbeddedCore, request: PostV1EmployeesEmployeeIdTerminationsRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=employeeEmploymentsCreateTermination.d.ts.map