import { UseQueryOptions } from '@tanstack/react-query'; import type { ListFilesResponseV3Response } from '../responses/ListFilesResponseV3Response'; import type { ErrorV3 } from '../schemas/ErrorV3'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ListRegistryFilesV3QueryPathParams { registry_name: string; } export interface ListRegistryFilesV3QueryQueryParams { account_identifier: string; package_name?: string; version?: string; file_path?: string; /** * @format int64 * @default 0 */ page?: number; /** * @format int64 * @default 20 */ size?: number; sort?: string; search_term?: string; } export type ListRegistryFilesV3OkResponse = ResponseWithPagination; export type ListRegistryFilesV3ErrorResponse = ErrorV3; export interface ListRegistryFilesV3Props extends ListRegistryFilesV3QueryPathParams, Omit, 'url'> { queryParams: ListRegistryFilesV3QueryQueryParams; } export declare function listRegistryFilesV3(props: ListRegistryFilesV3Props): Promise; /** * List files belonging to a registry. */ export declare function useListRegistryFilesV3Query(props: ListRegistryFilesV3Props, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;