import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import * as errors from "../models/errors/index.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 { AuthApiKeysListQueryData, buildAuthApiKeysListQuery, prefetchAuthApiKeysList, queryKeyAuthApiKeysList } from "./authApiKeysList.core.js"; export { type AuthApiKeysListQueryData, buildAuthApiKeysListQuery, prefetchAuthApiKeysList, queryKeyAuthApiKeysList, }; export type AuthApiKeysListQueryError = errors.ListScopedApiKeysResponseBody | errors.ListScopedApiKeysAuthApiKeysResponseBody | errors.ListScopedApiKeysAuthApiKeysResponseResponseBody | errors.ListScopedApiKeysAuthApiKeysResponse404ResponseBody | errors.ListScopedApiKeysAuthApiKeysResponse409ResponseBody | errors.ListScopedApiKeysAuthApiKeysResponse429ResponseBody | SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * List scoped API keys * * @remarks * List the caller's scoped API keys (metadata only — never the secret). Optional `?orgId=&teamId=` narrows; a key caller is scoped to its own org. */ export declare function useAuthApiKeysList(request: operations.ListScopedApiKeysRequest, options?: QueryHookOptions): UseQueryResult; /** * List scoped API keys * * @remarks * List the caller's scoped API keys (metadata only — never the secret). Optional `?orgId=&teamId=` narrows; a key caller is scoped to its own org. */ export declare function useAuthApiKeysListSuspense(request: operations.ListScopedApiKeysRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setAuthApiKeysListData(client: QueryClient, queryKeyBase: [ parameters: { orgId?: string | undefined; teamId?: string | undefined; xOnBehalfOf?: string | undefined; } ], data: AuthApiKeysListQueryData): AuthApiKeysListQueryData | undefined; export declare function invalidateAuthApiKeysList(client: QueryClient, queryKeyBase: TupleToPrefixes<[ parameters: { orgId?: string | undefined; teamId?: string | undefined; xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllAuthApiKeysList(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=authApiKeysList.d.ts.map