import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKError } from "../models/errors/sdkerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import * as operations from "../models/operations/index.js"; import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js"; import { BudgetsGetUserQueryData, buildBudgetsGetUserQuery, prefetchBudgetsGetUser, queryKeyBudgetsGetUser } from "./budgetsGetUser.core.js"; export { type BudgetsGetUserQueryData, buildBudgetsGetUserQuery, prefetchBudgetsGetUser, queryKeyBudgetsGetUser, }; export type BudgetsGetUserQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * List user budgets * * @remarks * Returns the user's budgets in the target org (self-budget and/or ceiling) with each one's live spend gauge. Targets the caller's own organization (inferred from the API key or session) unless the optional org_id query parameter names another org — cluster admins only. Callable by cluster admins, or org admins for users in their own organization (owner=org). */ export declare function useBudgetsGetUser(request: operations.GetUserBudgetsRequest, options?: QueryHookOptions): UseQueryResult; /** * List user budgets * * @remarks * Returns the user's budgets in the target org (self-budget and/or ceiling) with each one's live spend gauge. Targets the caller's own organization (inferred from the API key or session) unless the optional org_id query parameter names another org — cluster admins only. Callable by cluster admins, or org admins for users in their own organization (owner=org). */ export declare function useBudgetsGetUserSuspense(request: operations.GetUserBudgetsRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setBudgetsGetUserData(client: QueryClient, queryKeyBase: [id: string, parameters: { orgId?: string | undefined; }], data: BudgetsGetUserQueryData): BudgetsGetUserQueryData | undefined; export declare function invalidateBudgetsGetUser(client: QueryClient, queryKeyBase: TupleToPrefixes<[ id: string, parameters: { orgId?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllBudgetsGetUser(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=budgetsGetUser.d.ts.map