import { z } from 'zod'; import { type JsonObject } from '../depot/shape.js'; declare const retentionPolicySchema: z.ZodObject<{ enabled: z.ZodOptional; keepCount: z.ZodOptional; keepDays: z.ZodOptional; updatedAt: z.ZodOptional; }, z.core.$strip>; export type RetentionPolicySummary = z.infer; /** `GetRetentionPolicyResponse.policy` is optional: an empty object means no policy exists. */ export declare function parseRetentionPolicy(source: JsonObject): RetentionPolicySummary | undefined; export declare const listRegistryRepositoriesTool: import("../lib/tool.js").ToolModule; declare const platformSchema: z.ZodObject<{ os: z.ZodOptional; architecture: z.ZodOptional; variant: z.ZodOptional; digest: z.ZodOptional; sizeBytes: z.ZodOptional; }, z.core.$strip>; export type ManifestKind = 'index' | 'manifest' | 'unknown' | 'absent'; export interface DecodedManifest { readonly kind: ManifestKind; readonly mediaType: string | undefined; readonly platforms: Array>; readonly layerCount: number | undefined; readonly layersSizeBytes: number | undefined; readonly configDigest: string | undefined; readonly annotations: Record; readonly parseError: string | undefined; } /** * `GetImageDetailResponse.manifest` is `bytes`, which protobuf JSON encodes as base64. It holds * the raw OCI (or Docker v2) manifest the registry stores: either an image index with one entry * per platform, or a single-platform manifest listing config and layers. The manifest is * registry content, not something this server produced, so every field is read tolerantly and * a manifest that is not JSON is reported rather than thrown. */ export declare function decodeManifest(raw: unknown): DecodedManifest; export declare const getRegistryImageTool: import("../lib/tool.js").ToolModule; export {}; //# sourceMappingURL=registry-beta.d.ts.map