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 { GetV1EmployeeFormHeaderXGustoAPIVersion, GetV1EmployeeFormRequest } from "../models/operations/getv1employeeform.js"; import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js"; import { buildEmployeeFormsGetQuery, EmployeeFormsGetQueryData, prefetchEmployeeFormsGet, queryKeyEmployeeFormsGet } from "./employeeFormsGet.core.js"; export { buildEmployeeFormsGetQuery, type EmployeeFormsGetQueryData, prefetchEmployeeFormsGet, queryKeyEmployeeFormsGet, }; export type EmployeeFormsGetQueryError = NotFoundErrorObject | GustoEmbeddedError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Get an employee form * * @remarks * Get an employee form * * scope: `employee_forms:read` */ export declare function useEmployeeFormsGet(request: GetV1EmployeeFormRequest, options?: QueryHookOptions): UseQueryResult; /** * Get an employee form * * @remarks * Get an employee form * * scope: `employee_forms:read` */ export declare function useEmployeeFormsGetSuspense(request: GetV1EmployeeFormRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setEmployeeFormsGetData(client: QueryClient, queryKeyBase: [ employeeId: string, formId: string, parameters: { xGustoAPIVersion?: GetV1EmployeeFormHeaderXGustoAPIVersion | undefined; } ], data: EmployeeFormsGetQueryData): EmployeeFormsGetQueryData | undefined; export declare function invalidateEmployeeFormsGet(client: QueryClient, queryKeyBase: TupleToPrefixes<[ employeeId: string, formId: string, parameters: { xGustoAPIVersion?: GetV1EmployeeFormHeaderXGustoAPIVersion | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllEmployeeFormsGet(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=employeeFormsGet.d.ts.map