import { UseQueryOptions } from '@tanstack/react-query'; import type { DockerLayersResponseResponse } from '../responses/DockerLayersResponseResponse'; 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 GetDockerArtifactLayersQueryPathParams { registry_ref: string; artifact: string; version: string; } export interface GetDockerArtifactLayersQueryQueryParams { digest: string; } export type GetDockerArtifactLayersOkResponse = ResponseWithPagination; export type GetDockerArtifactLayersErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetDockerArtifactLayersProps extends GetDockerArtifactLayersQueryPathParams, Omit, 'url'> { queryParams: GetDockerArtifactLayersQueryQueryParams; } export declare function getDockerArtifactLayers(props: GetDockerArtifactLayersProps): Promise; /** * Get Docker Artifact Layers */ export declare function useGetDockerArtifactLayersQuery(props: GetDockerArtifactLayersProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;