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 { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { GetV1BenefitsBenefitIdHeaderXGustoAPIVersion, GetV1BenefitsBenefitIdRequest } from "../models/operations/getv1benefitsbenefitid.js"; import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js"; import { buildCompanyBenefitsGetSupportedQuery, CompanyBenefitsGetSupportedQueryData, prefetchCompanyBenefitsGetSupported, queryKeyCompanyBenefitsGetSupported } from "./companyBenefitsGetSupported.core.js"; export { buildCompanyBenefitsGetSupportedQuery, type CompanyBenefitsGetSupportedQueryData, prefetchCompanyBenefitsGetSupported, queryKeyCompanyBenefitsGetSupported, }; export type CompanyBenefitsGetSupportedQueryError = GustoEmbeddedError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Get a supported benefit * * @remarks * Returns a benefit supported by Gusto. The benefit object in Gusto contains high level information about a particular benefit type and its tax considerations. When companies choose to offer a benefit, they are creating a Company Benefit object associated with a particular benefit. * * scope: `benefits:read` */ export declare function useCompanyBenefitsGetSupported(request: GetV1BenefitsBenefitIdRequest, options?: QueryHookOptions): UseQueryResult; /** * Get a supported benefit * * @remarks * Returns a benefit supported by Gusto. The benefit object in Gusto contains high level information about a particular benefit type and its tax considerations. When companies choose to offer a benefit, they are creating a Company Benefit object associated with a particular benefit. * * scope: `benefits:read` */ export declare function useCompanyBenefitsGetSupportedSuspense(request: GetV1BenefitsBenefitIdRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setCompanyBenefitsGetSupportedData(client: QueryClient, queryKeyBase: [ benefitId: string, parameters: { xGustoAPIVersion?: GetV1BenefitsBenefitIdHeaderXGustoAPIVersion | undefined; } ], data: CompanyBenefitsGetSupportedQueryData): CompanyBenefitsGetSupportedQueryData | undefined; export declare function invalidateCompanyBenefitsGetSupported(client: QueryClient, queryKeyBase: TupleToPrefixes<[ benefitId: string, parameters: { xGustoAPIVersion?: GetV1BenefitsBenefitIdHeaderXGustoAPIVersion | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllCompanyBenefitsGetSupported(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=companyBenefitsGetSupported.d.ts.map