import { UseQueryOptions } from '@tanstack/react-query'; import type { ArtifactDeploymentsResponseResponse } from '../responses/ArtifactDeploymentsResponseResponse'; import type { BadRequestResponse } from '../responses/BadRequestResponse'; import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse'; import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse'; import type { NotFoundResponse } from '../responses/NotFoundResponse'; import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetArtifactDeploymentsQueryPathParams { registry_ref: string; artifact: string; version: string; } export interface GetArtifactDeploymentsQueryQueryParams { /** * Environment Type */ env_type?: 'PreProduction' | 'Production'; /** * @format int64 * @default 1 */ page?: number; /** * @format int64 * @default 20 */ size?: number; sort_order?: string; sort_field?: string; search_term?: string; version_type?: 'DIGEST' | 'TAG'; } export type GetArtifactDeploymentsOkResponse = ResponseWithPagination; export type GetArtifactDeploymentsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetArtifactDeploymentsProps extends GetArtifactDeploymentsQueryPathParams, Omit, 'url'> { queryParams: GetArtifactDeploymentsQueryQueryParams; } export declare function getArtifactDeployments(props: GetArtifactDeploymentsProps): Promise; /** * Get Artifact Deployments */ export declare function useGetArtifactDeploymentsQuery(props: GetArtifactDeploymentsProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;