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 DescribePackage} — `domain`, `domainOwner`, and * `repository` are injected from the bound {@link Repository}. */ export interface DescribePackageRequest extends Omit { } /** * Runtime binding for `codeartifact:DescribePackage`. * * Reads a package's description, including its origin configuration, from the bound repository. Provide the implementation with * `Effect.provide(AWS.CodeArtifact.DescribePackageHttp)`. * ### Inspecting Packages * **Example:** Describe a Package * ```typescript * const describePackage = yield* AWS.CodeArtifact.DescribePackage(repo); * * const res = yield* describePackage({ * format: "generic", * namespace: "my-ns", * package: "my-package", * }); * console.log(res.package?.originConfiguration); * ``` * * @binding */ export interface DescribePackage extends Binding.Service Effect.Effect<(request: DescribePackageRequest) => Effect.Effect>> { } export declare const DescribePackage: DescribePackage; //# sourceMappingURL=DescribePackage.d.ts.map