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 { GetV1EmployeesEmployeeIdBankAccountsHeaderXGustoAPIVersion, GetV1EmployeesEmployeeIdBankAccountsRequest } from "../models/operations/getv1employeesemployeeidbankaccounts.js"; import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js"; import { buildEmployeePaymentMethodsGetBankAccountsQuery, EmployeePaymentMethodsGetBankAccountsQueryData, prefetchEmployeePaymentMethodsGetBankAccounts, queryKeyEmployeePaymentMethodsGetBankAccounts } from "./employeePaymentMethodsGetBankAccounts.core.js"; export { buildEmployeePaymentMethodsGetBankAccountsQuery, type EmployeePaymentMethodsGetBankAccountsQueryData, prefetchEmployeePaymentMethodsGetBankAccounts, queryKeyEmployeePaymentMethodsGetBankAccounts, }; export type EmployeePaymentMethodsGetBankAccountsQueryError = NotFoundErrorObject | GustoEmbeddedError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * List employee bank accounts * * @remarks * Returns all employee bank accounts. * * scope: `employee_payment_methods:read` */ export declare function useEmployeePaymentMethodsGetBankAccounts(request: GetV1EmployeesEmployeeIdBankAccountsRequest, options?: QueryHookOptions): UseQueryResult; /** * List employee bank accounts * * @remarks * Returns all employee bank accounts. * * scope: `employee_payment_methods:read` */ export declare function useEmployeePaymentMethodsGetBankAccountsSuspense(request: GetV1EmployeesEmployeeIdBankAccountsRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setEmployeePaymentMethodsGetBankAccountsData(client: QueryClient, queryKeyBase: [ employeeId: string, parameters: { xGustoAPIVersion?: GetV1EmployeesEmployeeIdBankAccountsHeaderXGustoAPIVersion | undefined; page?: number | undefined; per?: number | undefined; } ], data: EmployeePaymentMethodsGetBankAccountsQueryData): EmployeePaymentMethodsGetBankAccountsQueryData | undefined; export declare function invalidateEmployeePaymentMethodsGetBankAccounts(client: QueryClient, queryKeyBase: TupleToPrefixes<[ employeeId: string, parameters: { xGustoAPIVersion?: GetV1EmployeesEmployeeIdBankAccountsHeaderXGustoAPIVersion | undefined; page?: number | undefined; per?: number | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllEmployeePaymentMethodsGetBankAccounts(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=employeePaymentMethodsGetBankAccounts.d.ts.map