import { HttpApi, HttpApiEndpoint, HttpApiGroup, HttpClient } from "@effect/platform"; import { Effect, type Layer } from "effect"; import { RegistryDistributionInspect } from "../generated/index.js"; import { DockerError } from "./circular.ts"; import { InternalServerError, NotFound, Unauthorized } from "./httpApiHacks.ts"; /** * @since 1.0.0 * @category HttpApi * @see https://docs.docker.com/reference/api/engine/latest/#tag/Distribution */ export declare const DistributionsApi: HttpApi.HttpApi<"distributions", HttpApiGroup.HttpApiGroup<"distributions", HttpApiEndpoint.HttpApiEndpoint<"inspect", "GET", { readonly name: string; }, never, never, never, RegistryDistributionInspect, Unauthorized | NotFound, never, never>, InternalServerError, never, false>, import("@effect/platform/HttpApiError").HttpApiDecodeError, never>; declare const Distributions_base: Effect.Service.Class]; readonly effect: Effect.Effect<{ inspect: (name: string) => Effect.Effect; }, never, HttpClient.HttpClient>; }>; /** * @since 1.0.0 * @category Services * @see https://docs.docker.com/reference/api/engine/latest/#tag/Distribution */ export declare class Distributions extends Distributions_base { } /** * @since 1.0.0 * @category Layers * @see https://docs.docker.com/reference/api/engine/latest/#tag/Distribution */ export declare const DistributionsLayerLocalSocket: Layer.Layer; /** * @since 1.0.0 * @category Layers * @see https://docs.docker.com/reference/api/engine/latest/#tag/Distribution */ export declare const DistributionsLayer: Layer.Layer; export {};