import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query"; 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 { GetV1EmployeesEmployeeIdEmployeeBenefitsHeaderXGustoAPIVersion, GetV1EmployeesEmployeeIdEmployeeBenefitsQueryParamInclude, GetV1EmployeesEmployeeIdEmployeeBenefitsRequest } from "../models/operations/getv1employeesemployeeidemployeebenefits.js"; import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js"; import { buildEmployeeBenefitsGetQuery, EmployeeBenefitsGetQueryData, prefetchEmployeeBenefitsGet, queryKeyEmployeeBenefitsGet } from "./employeeBenefitsGet.core.js"; export { buildEmployeeBenefitsGetQuery, type EmployeeBenefitsGetQueryData, prefetchEmployeeBenefitsGet, queryKeyEmployeeBenefitsGet, }; export type EmployeeBenefitsGetQueryError = NotFoundErrorObject | GustoEmbeddedError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Get all benefits for an employee * * @remarks * Employee benefits represent an employee enrolled in a particular company benefit. It includes information specific to that employee’s enrollment. * * Returns an array of all employee benefits for this employee * * Benefits containing PHI are only visible to applications with the `employee_benefits:read:phi` scope. * * scope: `employee_benefits:read` */ export declare function useEmployeeBenefitsGet(request: GetV1EmployeesEmployeeIdEmployeeBenefitsRequest, options?: QueryHookOptions): UseQueryResult; /** * Get all benefits for an employee * * @remarks * Employee benefits represent an employee enrolled in a particular company benefit. It includes information specific to that employee’s enrollment. * * Returns an array of all employee benefits for this employee * * Benefits containing PHI are only visible to applications with the `employee_benefits:read:phi` scope. * * scope: `employee_benefits:read` */ export declare function useEmployeeBenefitsGetSuspense(request: GetV1EmployeesEmployeeIdEmployeeBenefitsRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setEmployeeBenefitsGetData(client: QueryClient, queryKeyBase: [ employeeId: string, parameters: { xGustoAPIVersion?: GetV1EmployeesEmployeeIdEmployeeBenefitsHeaderXGustoAPIVersion | undefined; page?: number | undefined; per?: number | undefined; include?: GetV1EmployeesEmployeeIdEmployeeBenefitsQueryParamInclude | undefined; } ], data: EmployeeBenefitsGetQueryData): EmployeeBenefitsGetQueryData | undefined; export declare function invalidateEmployeeBenefitsGet(client: QueryClient, queryKeyBase: TupleToPrefixes<[ employeeId: string, parameters: { xGustoAPIVersion?: GetV1EmployeesEmployeeIdEmployeeBenefitsHeaderXGustoAPIVersion | undefined; page?: number | undefined; per?: number | undefined; include?: GetV1EmployeesEmployeeIdEmployeeBenefitsQueryParamInclude | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllEmployeeBenefitsGet(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=employeeBenefitsGet.d.ts.map