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 { DeleteV1CompanyBenefitsCompanyBenefitIdRequest, DeleteV1CompanyBenefitsCompanyBenefitIdResponse } from "../models/operations/deletev1companybenefitscompanybenefitid.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Delete a company benefit * * @remarks * The following must be true in order to delete a company benefit * * - There are no employee benefits associated with the company benefit * - There are no payroll items associated with the company benefit * - The benefit is not managed by a Partner or by Gusto (type must be 'External') * * When the application has the `company_benefits:write:benefit_type_limited` data scope, the application can only delete company benefits for benefit types that are permitted for the application. * * scope: `company_benefits:write` * * If set, this operation will use {@link Security.companyAccessAuth} from the global security. */ export declare function companyBenefitsDelete(client: GustoEmbeddedCore, request: DeleteV1CompanyBenefitsCompanyBenefitIdRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=companyBenefitsDelete.d.ts.map