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 { buildReposListQuery, prefetchReposList, queryKeyReposList, ReposListQueryData } from "./reposList.core.js"; export { buildReposListQuery, prefetchReposList, queryKeyReposList, type ReposListQueryData, }; export type ReposListQueryError = errors.RepoError | SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * List the caller's org's repositories * * @remarks * Returns every repository in the caller's org (org owner/admin only). * Pure DB read. */ export declare function useReposList(request: operations.ListReposRequest, options?: QueryHookOptions): UseQueryResult; /** * List the caller's org's repositories * * @remarks * Returns every repository in the caller's org (org owner/admin only). * Pure DB read. */ export declare function useReposListSuspense(request: operations.ListReposRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setReposListData(client: QueryClient, queryKeyBase: [parameters: { xOnBehalfOf?: string | undefined; }], data: ReposListQueryData): ReposListQueryData | undefined; export declare function invalidateReposList(client: QueryClient, queryKeyBase: TupleToPrefixes<[ parameters: { xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllReposList(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=reposList.d.ts.map