import { UseQueryOptions } from '@tanstack/react-query'; import type { ModuleVersionsListResponseResponse } from '../responses/ModuleVersionsListResponseResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ListModuleVersionsQueryQueryParams { /** * @default 0 */ page?: number; /** * @default 20 */ limit?: number; } export type ListModuleVersionsOkResponse = ResponseWithPagination; export type ListModuleVersionsErrorResponse = unknown; export interface ListModuleVersionsProps extends Omit, 'url'> { queryParams: ListModuleVersionsQueryQueryParams; } export declare function listModuleVersions(props: ListModuleVersionsProps): Promise; /** * Lists Versions of different Modules. */ export declare function useListModuleVersionsQuery(props: ListModuleVersionsProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;