import * as z from "zod/v4"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import * as models from "../index.js"; export type ListPackagesGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; /** * Filter by package type */ export declare const ListPackagesType: { readonly Cli: "cli"; readonly Cloudformation: "cloudformation"; readonly Helm: "helm"; readonly OperatorImage: "operator-image"; readonly SandboxBundle: "sandbox-bundle"; readonly Terraform: "terraform"; }; /** * Filter by package type */ export type ListPackagesType = ClosedEnum; /** * Filter by package status */ export declare const ListPackagesStatus: { readonly Pending: "pending"; readonly Building: "building"; readonly Ready: "ready"; readonly Failed: "failed"; readonly Canceled: "canceled"; }; /** * Filter by package status */ export type ListPackagesStatus = ClosedEnum; export type ListPackagesRequest = { /** * Filter by project ID or name. */ project?: string | undefined; /** * Filter by package type */ type?: ListPackagesType | undefined; /** * Filter by package status */ status?: ListPackagesStatus | undefined; /** * Search packages by type or version */ search?: string | undefined; /** * Maximum number of items to return per page */ limit?: number | undefined; /** * Cursor for pagination - omit for first page */ cursor?: string | undefined; }; /** * Paginated response */ export type ListPackagesResponse = { /** * Items in this page */ items: Array; /** * Cursor for the next page, null if last page */ nextCursor: string | null; }; /** @internal */ export declare const ListPackagesType$outboundSchema: z.ZodEnum; /** @internal */ export declare const ListPackagesStatus$outboundSchema: z.ZodEnum; /** @internal */ export type ListPackagesRequest$Outbound = { project?: string | undefined; type?: string | undefined; status?: string | undefined; search?: string | undefined; limit: number; cursor?: string | undefined; }; /** @internal */ export declare const ListPackagesRequest$outboundSchema: z.ZodType; export declare function listPackagesRequestToJSON(listPackagesRequest: ListPackagesRequest): string; /** @internal */ export declare const ListPackagesResponse$inboundSchema: z.ZodType; export declare function listPackagesResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listpackages.d.ts.map