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 { GetV1CompanyExternalPayrollsHeaderXGustoAPIVersion, GetV1CompanyExternalPayrollsRequest } from "../models/operations/getv1companyexternalpayrolls.js"; import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js"; import { buildExternalPayrollsGetQuery, ExternalPayrollsGetQueryData, prefetchExternalPayrollsGet, queryKeyExternalPayrollsGet } from "./externalPayrollsGet.core.js"; export { buildExternalPayrollsGetQuery, type ExternalPayrollsGetQueryData, prefetchExternalPayrollsGet, queryKeyExternalPayrollsGet, }; export type ExternalPayrollsGetQueryError = NotFoundErrorObject | GustoEmbeddedError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Get external payrolls for a company * * @remarks * Get external payrolls for a company. * * scope: `external_payrolls:read` */ export declare function useExternalPayrollsGet(request: GetV1CompanyExternalPayrollsRequest, options?: QueryHookOptions): UseQueryResult; /** * Get external payrolls for a company * * @remarks * Get external payrolls for a company. * * scope: `external_payrolls:read` */ export declare function useExternalPayrollsGetSuspense(request: GetV1CompanyExternalPayrollsRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setExternalPayrollsGetData(client: QueryClient, queryKeyBase: [ companyUuid: string, parameters: { xGustoAPIVersion?: GetV1CompanyExternalPayrollsHeaderXGustoAPIVersion | undefined; page?: number | undefined; per?: number | undefined; } ], data: ExternalPayrollsGetQueryData): ExternalPayrollsGetQueryData | undefined; export declare function invalidateExternalPayrollsGet(client: QueryClient, queryKeyBase: TupleToPrefixes<[ companyUuid: string, parameters: { xGustoAPIVersion?: GetV1CompanyExternalPayrollsHeaderXGustoAPIVersion | undefined; page?: number | undefined; per?: number | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllExternalPayrollsGet(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=externalPayrollsGet.d.ts.map