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 ListPackages} — `domain`, `domainOwner`, and * `repository` are injected from the bound {@link Repository}. */ export interface ListPackagesRequest extends Omit { } /** * Runtime binding for `codeartifact:ListPackages`. * * Lists the packages stored in the bound repository. Provide the implementation with * `Effect.provide(AWS.CodeArtifact.ListPackagesHttp)`. * ### Browsing Packages * **Example:** List Packages by Prefix * ```typescript * const listPackages = yield* AWS.CodeArtifact.ListPackages(repo); * * const res = yield* listPackages({ packagePrefix: "my-" }); * for (const pkg of res.packages ?? []) console.log(pkg.package); * ``` * * @binding */ export interface ListPackages extends Binding.Service Effect.Effect<(request: ListPackagesRequest) => Effect.Effect>> { } export declare const ListPackages: ListPackages; //# sourceMappingURL=ListPackages.d.ts.map