import { z } from 'zod'; export declare const DappReleaseSourceZod: z.ZodObject<{ repository: z.ZodString; sourceRef: z.ZodString; sourceSha: z.ZodString; }, z.core.$strict>; export type DappReleaseSource = z.infer; export declare const DappReleaseWorkflowRequirementZod: z.ZodObject<{ id: z.ZodString; workflowPath: z.ZodString; workflowName: z.ZodString; event: z.ZodString; }, z.core.$strict>; export declare const DappReleaseDeploymentRequirementZod: z.ZodObject<{ id: z.ZodString; environment: z.ZodString; publishers: z.ZodArray; }, z.core.$strict>; export declare const DappReleaseEvidencePolicyZod: z.ZodObject<{ repository: z.ZodString; sourceRef: z.ZodString; sourceSha: z.ZodString; workflows: z.ZodArray>; deployments: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; export type DappReleaseEvidencePolicy = z.infer; export declare const DappReleaseWorkflowRunZod: z.ZodObject<{ id: z.ZodNumber; attempt: z.ZodNumber; repository: z.ZodString; headRepository: z.ZodString; sourceRef: z.ZodString; sourceSha: z.ZodString; event: z.ZodString; workflowPath: z.ZodString; workflowName: z.ZodString; status: z.ZodString; conclusion: z.ZodNullable; }, z.core.$strict>; export type DappReleaseWorkflowRun = z.infer; export declare const DappReleaseDeploymentStatusZod: z.ZodObject<{ id: z.ZodNumber; state: z.ZodString; publisher: z.ZodString; }, z.core.$strict>; export declare const DappReleaseDeploymentZod: z.ZodObject<{ id: z.ZodNumber; repository: z.ZodString; environment: z.ZodString; sourceSha: z.ZodString; publisher: z.ZodString; statuses: z.ZodArray>; }, z.core.$strict>; export type DappReleaseDeployment = z.infer; export declare const DappReleaseEvidenceObservationZod: z.ZodObject<{ sourceBefore: z.ZodObject<{ repository: z.ZodString; sourceRef: z.ZodString; sourceSha: z.ZodString; }, z.core.$strict>; sourceAfter: z.ZodObject<{ repository: z.ZodString; sourceRef: z.ZodString; sourceSha: z.ZodString; }, z.core.$strict>; workflows: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; deployments: z.ZodArray>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>; export type DappReleaseEvidenceObservation = z.infer; export declare const DappReleaseEvidenceSnapshotSchema: "network.xyo.dapp.release.evidence.snapshot" & { readonly __schema: true; }; export declare const DappReleaseEvidenceSnapshotZod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.release.evidence.snapshot" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; policy: z.ZodObject<{ repository: z.ZodString; sourceRef: z.ZodString; sourceSha: z.ZodString; workflows: z.ZodArray>; deployments: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; workflows: z.ZodArray; }, z.core.$strict>; }, z.core.$strict>>; deployments: z.ZodArray; status: z.ZodObject<{ id: z.ZodNumber; state: z.ZodString; publisher: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; }, z.core.$strict>; export type DappReleaseEvidenceSnapshot = z.infer; export declare const DappReleaseEvidenceOutcomeZod: z.ZodDiscriminatedUnion<[z.ZodObject<{ state: z.ZodLiteral<"eligible">; issues: z.ZodArray; }, z.core.$strict>>; snapshot: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.release.evidence.snapshot" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; policy: z.ZodObject<{ repository: z.ZodString; sourceRef: z.ZodString; sourceSha: z.ZodString; workflows: z.ZodArray>; deployments: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; workflows: z.ZodArray; }, z.core.$strict>; }, z.core.$strict>>; deployments: z.ZodArray; status: z.ZodObject<{ id: z.ZodNumber; state: z.ZodString; publisher: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ state: z.ZodEnum<{ blocked: "blocked"; waiting: "waiting"; superseded: "superseded"; }>; issues: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>], "state">; export type DappReleaseEvidenceOutcome = z.infer; /** Input includes the adapter's latest run, never an earlier-success search. */ export declare function selectLatestDappReleaseWorkflowRun(value: unknown): DappReleaseWorkflowRun | undefined; /** The adapter must read the whole environment without filtering by source commit. */ export declare function selectLatestDappReleaseDeployment(value: unknown): DappReleaseDeployment | undefined; /** Pure eligibility from authenticated adapter observations; grants no deployment authority. */ export declare function evaluateDappReleaseEvidence(policyInput: unknown, observationInput: unknown): DappReleaseEvidenceOutcome; /** Re-read immediately before each authorized side effect; this is not a lease. */ export declare function recheckDappReleaseEvidence(snapshotInput: unknown, policyInput: unknown, observationInput: unknown): DappReleaseEvidenceOutcome; export declare const DappReleaseBuildMetadataZod: z.ZodObject<{ repository: z.ZodString; sourceRef: z.ZodString; sourceSha: z.ZodString; event: z.ZodString; workflowPath: z.ZodString; workflowSha: z.ZodString; runId: z.ZodNumber; runAttempt: z.ZodNumber; image: z.ZodString; digest: z.ZodString; }, z.core.$strict>; export type DappReleaseBuildMetadata = z.infer; /** Validates declared build provenance; this does not verify an OCI signature. */ export declare function verifyDappReleaseBuildMetadata(value: unknown, runInput: unknown, image: string): DappReleaseBuildMetadata; //# sourceMappingURL=releaseEvidence.d.ts.map