import { z } from "zod"; export declare const CAPABILITY_PACKAGE_OWNERSHIP_RECEIPT_PATH = ".aih/capability-packages/ownership-v1.json"; export declare const CAPABILITY_PACKAGE_OWNERSHIP_RECEIPT_FORMAT = "aih-capability-package-ownership-receipt"; export declare const MAX_CAPABILITY_PACKAGE_OWNERSHIP_RECEIPT_BYTES: number; export declare const MAX_CAPABILITY_PACKAGE_MEMBER_AUTHORITY_REFS = 256; export declare const CapabilityPackageOwnershipAuthorityRefSchema: z.ZodObject<{ authorityId: z.ZodPipe; claimDigest: z.ZodString; sourceDigest: z.ZodDiscriminatedUnion<[z.ZodObject<{ algorithm: z.ZodLiteral<"git-sha1">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; value: z.ZodString; }, z.core.$strict>], "algorithm">; }, z.core.$strict>; declare const CapabilityPackageOwnershipMemberSchema: z.ZodObject<{ id: z.ZodPipe; claimDigest: z.ZodString; sourceDigest: z.ZodDiscriminatedUnion<[z.ZodObject<{ algorithm: z.ZodLiteral<"git-sha1">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; value: z.ZodString; }, z.core.$strict>], "algorithm">; authorityRefs: z.ZodArray; claimDigest: z.ZodString; sourceDigest: z.ZodDiscriminatedUnion<[z.ZodObject<{ algorithm: z.ZodLiteral<"git-sha1">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; value: z.ZodString; }, z.core.$strict>], "algorithm">; }, z.core.$strict>>; }, z.core.$strict>; declare const CapabilityPackageOwnershipPackageSchema: z.ZodObject<{ id: z.ZodString; authorityId: z.ZodPipe; claimDigest: z.ZodString; sourceDigest: z.ZodDiscriminatedUnion<[z.ZodObject<{ algorithm: z.ZodLiteral<"git-sha1">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; value: z.ZodString; }, z.core.$strict>], "algorithm">; dependencies: z.ZodArray; members: z.ZodArray; claimDigest: z.ZodString; sourceDigest: z.ZodDiscriminatedUnion<[z.ZodObject<{ algorithm: z.ZodLiteral<"git-sha1">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; value: z.ZodString; }, z.core.$strict>], "algorithm">; authorityRefs: z.ZodArray; claimDigest: z.ZodString; sourceDigest: z.ZodDiscriminatedUnion<[z.ZodObject<{ algorithm: z.ZodLiteral<"git-sha1">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; value: z.ZodString; }, z.core.$strict>], "algorithm">; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>; export declare const CapabilityPackageOwnershipReceiptSchema: z.ZodObject<{ format: z.ZodLiteral<"aih-capability-package-ownership-receipt">; schemaVersion: z.ZodLiteral<1>; manifest: z.ZodObject<{ sha256: z.ZodString; }, z.core.$strict>; roots: z.ZodArray; packages: z.ZodArray; claimDigest: z.ZodString; sourceDigest: z.ZodDiscriminatedUnion<[z.ZodObject<{ algorithm: z.ZodLiteral<"git-sha1">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; value: z.ZodString; }, z.core.$strict>], "algorithm">; dependencies: z.ZodArray; members: z.ZodArray; claimDigest: z.ZodString; sourceDigest: z.ZodDiscriminatedUnion<[z.ZodObject<{ algorithm: z.ZodLiteral<"git-sha1">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; value: z.ZodString; }, z.core.$strict>], "algorithm">; authorityRefs: z.ZodArray; claimDigest: z.ZodString; sourceDigest: z.ZodDiscriminatedUnion<[z.ZodObject<{ algorithm: z.ZodLiteral<"git-sha1">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ algorithm: z.ZodLiteral<"sha256">; value: z.ZodString; }, z.core.$strict>], "algorithm">; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>; export type CapabilityPackageOwnershipMember = z.infer; export type CapabilityPackageOwnershipAuthorityRef = z.infer; export type CapabilityPackageOwnershipPackage = z.infer; export type CapabilityPackageOwnershipReceipt = z.infer; export type CapabilityPackageOwnershipReceiptRead = { state: "absent"; } | { state: "valid"; receipt: CapabilityPackageOwnershipReceipt; sourceBytes: Buffer; sourceSha256: string; } | { state: "malformed"; detail: string; }; export declare function parseCapabilityPackageOwnershipReceipt(text: string): CapabilityPackageOwnershipReceipt; export declare function serializeCapabilityPackageOwnershipReceipt(input: CapabilityPackageOwnershipReceipt): string; export declare function readCapabilityPackageOwnershipReceipt(root: string): CapabilityPackageOwnershipReceiptRead; export {};