import type * as codeartifact from "@distilled.cloud/aws/codeartifact"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Repository } from "./Repository.ts"; /** * Request for {@link GetRepositoryEndpoint} — `domain`, `domainOwner`, and * `repository` are injected from the bound {@link Repository}. */ export interface GetRepositoryEndpointRequest extends Omit { } /** * Runtime binding for `codeartifact:GetRepositoryEndpoint`. * * Resolves the URL package managers (npm, pip, maven, …) use to talk to the bound repository for a given package format. Provide the implementation with * `Effect.provide(AWS.CodeArtifact.GetRepositoryEndpointHttp)`. * ### Resolving the Registry Endpoint * **Example:** Get the npm Endpoint * ```typescript * const getEndpoint = yield* AWS.CodeArtifact.GetRepositoryEndpoint(repo); * * const res = yield* getEndpoint({ format: "npm" }); * console.log(res.repositoryEndpoint); * ``` * * @binding */ export interface GetRepositoryEndpoint extends Binding.Service Effect.Effect<(request: GetRepositoryEndpointRequest) => Effect.Effect>> { } export declare const GetRepositoryEndpoint: GetRepositoryEndpoint; //# sourceMappingURL=GetRepositoryEndpoint.d.ts.map