import { UseQueryOptions } from '@tanstack/react-query'; import type { ListVersionDeploymentsResponseV3Response } from '../responses/ListVersionDeploymentsResponseV3Response'; import type { ErrorV3 } from '../schemas/ErrorV3'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ListVersionDeploymentsV3QueryPathParams { id: string; } export interface ListVersionDeploymentsV3QueryQueryParams { account_identifier: string; env_type?: 'PRE_PRODUCTION' | 'PRODUCTION'; /** * @format int64 * @default 0 */ page?: number; /** * @format int64 * @default 20 */ size?: number; sort?: string; search_term?: string; package_tag?: string; } export type ListVersionDeploymentsV3OkResponse = ResponseWithPagination; export type ListVersionDeploymentsV3ErrorResponse = ErrorV3; export interface ListVersionDeploymentsV3Props extends ListVersionDeploymentsV3QueryPathParams, Omit, 'url'> { queryParams: ListVersionDeploymentsV3QueryQueryParams; } export declare function listVersionDeploymentsV3(props: ListVersionDeploymentsV3Props): Promise; /** * List Harness CD deployments for a specific version. Returns the environments and services that are actively running this version, together with aggregate prod/non-prod counts in `meta`. For OCI-based package types (DOCKER, HELM) the artifact is identified by `image:tag` — supply `package_tag` or an empty response is returned. For all other package types the artifact is identified by `package_name/version_name`. * */ export declare function useListVersionDeploymentsV3Query(props: ListVersionDeploymentsV3Props, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;