import { UseQueryOptions } from '@tanstack/react-query'; import type { ListPackageResponseV3Response } from '../responses/ListPackageResponseV3Response'; import type { ErrorV3 } from '../schemas/ErrorV3'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ListPackagesV3QueryQueryParams { account_identifier: string; org_identifier?: string; project_identifier?: string; registry_ids?: string[]; metadata?: string[]; /** * @example "model" */ package_kind?: string; package_types?: string[]; /** * @default "exclude" */ deleted?: 'exclude' | 'include' | 'only'; /** * @format int64 * @default 0 */ page?: number; /** * @format int64 * @default 20 */ size?: number; sort?: string; search_term?: string; include_meta?: boolean; } export type ListPackagesV3OkResponse = ResponseWithPagination; export type ListPackagesV3ErrorResponse = ErrorV3; export interface ListPackagesV3Props extends Omit, 'url'> { queryParams: ListPackagesV3QueryQueryParams; } export declare function listPackagesV3(props: ListPackagesV3Props): Promise; /** * Lists Packages */ export declare function useListPackagesV3Query(props: ListPackagesV3Props, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;