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 { GetCompaniesDepartmentsRequest, GetCompaniesDepartmentsResponse } from "../models/operations/getcompaniesdepartments.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Get all departments of a company * * @remarks * Get all of the departments for a given company with the employees and contractors assigned to that department. * * scope: `departments:read` * * If set, this operation will use {@link Security.companyAccessAuth} from the global security. */ export declare function departmentsGetAll(client: GustoEmbeddedCore, request: GetCompaniesDepartmentsRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=departmentsGetAll.d.ts.map