import { UseQueryOptions } from '@tanstack/react-query'; import type { ListVersionResponseV3Response } from '../responses/ListVersionResponseV3Response'; import type { ErrorV3 } from '../schemas/ErrorV3'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ListVersionsV3QueryQueryParams { account_identifier: string; org_identifier?: string; project_identifier?: string; registry_ids?: string[]; package_ids?: string[]; package_types?: string[]; /** * @default "exclude" */ deleted?: 'exclude' | 'include' | 'only'; metadata?: string[]; /** * @format int64 * @default 0 */ page?: number; /** * @format int64 * @default 20 */ size?: number; sort?: string; search_term?: string; include_meta?: boolean; uploaded_by?: number[]; } export type ListVersionsV3OkResponse = ResponseWithPagination; export type ListVersionsV3ErrorResponse = ErrorV3; export interface ListVersionsV3Props extends Omit, 'url'> { queryParams: ListVersionsV3QueryQueryParams; } export declare function listVersionsV3(props: ListVersionsV3Props): Promise; /** * Lists versions of packages */ export declare function useListVersionsV3Query(props: ListVersionsV3Props, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;