import { z } from "zod"; import { runAnalysisRecipe, runReviewPreparation, type ReviewRecipePreparation, type RecipeDevelopmentProjectionRequest, type RecipeDevelopmentProjection } from "@actuarial-ts/core"; /** Internal shared shape builder for recipe and controlled-scenario boundaries. */ export declare function recipeExecutionRequestSchema(): z.ZodObject<{ history: z.ZodEffects; datasetId: z.ZodEffects; historyMode: z.ZodEnum<["full-snapshots", "changes", "mixed"]>; revisionView: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"as-known">; knowledgeCutoff: z.ZodString; }, "strict", z.ZodTypeAny, { kind: "as-known"; knowledgeCutoff: string; }, { kind: "as-known"; knowledgeCutoff: string; }>, z.ZodObject<{ kind: z.ZodLiteral<"restated">; }, "strict", z.ZodTypeAny, { kind: "restated"; }, { kind: "restated"; }>]>; revisionPrecedence: z.ZodEnum<["sequence", "corrected-at"]>; missingSnapshotRecord: z.ZodEnum<["unknown", "carried-forward"]>; sources: z.ZodArray; artifactId: z.ZodEffects; mappingVersion: z.ZodEffects; additionalArtifacts: z.ZodOptional; mappingVersion: z.ZodEffects; }, "strict", z.ZodTypeAny, { artifactId: string; mappingVersion: string; }, { artifactId: string; mappingVersion: string; }>, "many">>; }, "strict", z.ZodTypeAny, { artifactId: string; namespace: string; mappingVersion: string; additionalArtifacts?: { artifactId: string; mappingVersion: string; }[] | undefined; }, { artifactId: string; namespace: string; mappingVersion: string; additionalArtifacts?: { artifactId: string; mappingVersion: string; }[] | undefined; }>, "many">; evaluationDates: z.ZodOptional, "many">>; openingBalances: z.ZodOptional; claimId: z.ZodEffects; asOfDate: z.ZodEffects; measures: z.ZodEffects, string, string>, z.ZodNumber>, Record, Record>; source: z.ZodObject<{ artifactId: z.ZodEffects; sourceFile: z.ZodOptional>; sourceSheet: z.ZodOptional>; sourceRow: z.ZodOptional; }, "strict", z.ZodTypeAny, { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }, { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }>; }, "strict", z.ZodTypeAny, { source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; sourceNamespace: string; claimId: string; measures: Record; asOfDate: string; }, { source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; sourceNamespace: string; claimId: string; measures: Record; asOfDate: string; }>, "many">>; records: z.ZodArray; sourceNamespace: z.ZodEffects; claimId: z.ZodEffects; grain: z.ZodEnum<["claim-snapshot", "claim-component-snapshot", "transaction"]>; componentId: z.ZodOptional>; accidentDate: z.ZodOptional>; reportDate: z.ZodOptional>; evaluationDate: z.ZodOptional>; effectiveDate: z.ZodOptional>; measures: z.ZodEffects, string, string>, z.ZodUnion<[z.ZodNumber, z.ZodNull]>>, Record, Record>; status: z.ZodOptional>; dimensions: z.ZodOptional, string, string>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray, "many">]>>, Record, Record>>; relationships: z.ZodOptional, "many">>; occurrenceId: z.ZodOptional>; policyIds: z.ZodOptional, "many">>; coverageIds: z.ZodOptional, "many">>; }, "strict", z.ZodTypeAny, { claimantIds?: string[] | undefined; occurrenceId?: string | undefined; policyIds?: string[] | undefined; coverageIds?: string[] | undefined; }, { claimantIds?: string[] | undefined; occurrenceId?: string | undefined; policyIds?: string[] | undefined; coverageIds?: string[] | undefined; }>>; completeness: z.ZodEnum<["complete-snapshot", "partial-snapshot", "change-only"]>; revision: z.ZodObject<{ id: z.ZodEffects; action: z.ZodEnum<["upsert", "delete"]>; sequence: z.ZodOptional; correctedAt: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; action: "upsert" | "delete"; sequence?: number | undefined; correctedAt?: string | undefined; }, { id: string; action: "upsert" | "delete"; sequence?: number | undefined; correctedAt?: string | undefined; }>; source: z.ZodObject<{ artifactId: z.ZodEffects; sourceFile: z.ZodOptional>; sourceSheet: z.ZodOptional>; sourceRow: z.ZodOptional; }, "strict", z.ZodTypeAny, { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }, { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }>; }, "strict", z.ZodTypeAny, { revision: { id: string; action: "upsert" | "delete"; sequence?: number | undefined; correctedAt?: string | undefined; }; source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; recordId: string; sourceNamespace: string; claimId: string; grain: "claim-snapshot" | "claim-component-snapshot" | "transaction"; measures: Record; completeness: "complete-snapshot" | "partial-snapshot" | "change-only"; status?: string | undefined; evaluationDate?: string | undefined; dimensions?: Record | undefined; effectiveDate?: string | undefined; componentId?: string | undefined; accidentDate?: string | undefined; reportDate?: string | undefined; relationships?: { claimantIds?: string[] | undefined; occurrenceId?: string | undefined; policyIds?: string[] | undefined; coverageIds?: string[] | undefined; } | undefined; }, { revision: { id: string; action: "upsert" | "delete"; sequence?: number | undefined; correctedAt?: string | undefined; }; source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; recordId: string; sourceNamespace: string; claimId: string; grain: "claim-snapshot" | "claim-component-snapshot" | "transaction"; measures: Record; completeness: "complete-snapshot" | "partial-snapshot" | "change-only"; status?: string | undefined; evaluationDate?: string | undefined; dimensions?: Record | undefined; effectiveDate?: string | undefined; componentId?: string | undefined; accidentDate?: string | undefined; reportDate?: string | undefined; relationships?: { claimantIds?: string[] | undefined; occurrenceId?: string | undefined; policyIds?: string[] | undefined; coverageIds?: string[] | undefined; } | undefined; }>, { revision: { id: string; action: "upsert" | "delete"; sequence?: number | undefined; correctedAt?: string | undefined; }; source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; recordId: string; sourceNamespace: string; claimId: string; grain: "claim-snapshot" | "claim-component-snapshot" | "transaction"; measures: Record; completeness: "complete-snapshot" | "partial-snapshot" | "change-only"; status?: string | undefined; evaluationDate?: string | undefined; dimensions?: Record | undefined; effectiveDate?: string | undefined; componentId?: string | undefined; accidentDate?: string | undefined; reportDate?: string | undefined; relationships?: { claimantIds?: string[] | undefined; occurrenceId?: string | undefined; policyIds?: string[] | undefined; coverageIds?: string[] | undefined; } | undefined; }, { revision: { id: string; action: "upsert" | "delete"; sequence?: number | undefined; correctedAt?: string | undefined; }; source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; recordId: string; sourceNamespace: string; claimId: string; grain: "claim-snapshot" | "claim-component-snapshot" | "transaction"; measures: Record; completeness: "complete-snapshot" | "partial-snapshot" | "change-only"; status?: string | undefined; evaluationDate?: string | undefined; dimensions?: Record | undefined; effectiveDate?: string | undefined; componentId?: string | undefined; accidentDate?: string | undefined; reportDate?: string | undefined; relationships?: { claimantIds?: string[] | undefined; occurrenceId?: string | undefined; policyIds?: string[] | undefined; coverageIds?: string[] | undefined; } | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { revisionView: { kind: "as-known"; knowledgeCutoff: string; } | { kind: "restated"; }; revisionPrecedence: "sequence" | "corrected-at"; sources: { artifactId: string; namespace: string; mappingVersion: string; additionalArtifacts?: { artifactId: string; mappingVersion: string; }[] | undefined; }[]; historyContractVersion: "actuarial-history/1"; datasetId: string; historyMode: "full-snapshots" | "changes" | "mixed"; missingSnapshotRecord: "unknown" | "carried-forward"; records: { revision: { id: string; action: "upsert" | "delete"; sequence?: number | undefined; correctedAt?: string | undefined; }; source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; recordId: string; sourceNamespace: string; claimId: string; grain: "claim-snapshot" | "claim-component-snapshot" | "transaction"; measures: Record; completeness: "complete-snapshot" | "partial-snapshot" | "change-only"; status?: string | undefined; evaluationDate?: string | undefined; dimensions?: Record | undefined; effectiveDate?: string | undefined; componentId?: string | undefined; accidentDate?: string | undefined; reportDate?: string | undefined; relationships?: { claimantIds?: string[] | undefined; occurrenceId?: string | undefined; policyIds?: string[] | undefined; coverageIds?: string[] | undefined; } | undefined; }[]; evaluationDates?: string[] | undefined; openingBalances?: { source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; sourceNamespace: string; claimId: string; measures: Record; asOfDate: string; }[] | undefined; }, { revisionView: { kind: "as-known"; knowledgeCutoff: string; } | { kind: "restated"; }; revisionPrecedence: "sequence" | "corrected-at"; sources: { artifactId: string; namespace: string; mappingVersion: string; additionalArtifacts?: { artifactId: string; mappingVersion: string; }[] | undefined; }[]; historyContractVersion: "actuarial-history/1"; datasetId: string; historyMode: "full-snapshots" | "changes" | "mixed"; missingSnapshotRecord: "unknown" | "carried-forward"; records: { revision: { id: string; action: "upsert" | "delete"; sequence?: number | undefined; correctedAt?: string | undefined; }; source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; recordId: string; sourceNamespace: string; claimId: string; grain: "claim-snapshot" | "claim-component-snapshot" | "transaction"; measures: Record; completeness: "complete-snapshot" | "partial-snapshot" | "change-only"; status?: string | undefined; evaluationDate?: string | undefined; dimensions?: Record | undefined; effectiveDate?: string | undefined; componentId?: string | undefined; accidentDate?: string | undefined; reportDate?: string | undefined; relationships?: { claimantIds?: string[] | undefined; occurrenceId?: string | undefined; policyIds?: string[] | undefined; coverageIds?: string[] | undefined; } | undefined; }[]; evaluationDates?: string[] | undefined; openingBalances?: { source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; sourceNamespace: string; claimId: string; measures: Record; asOfDate: string; }[] | undefined; }>, { revisionView: { kind: "as-known"; knowledgeCutoff: string; } | { kind: "restated"; }; revisionPrecedence: "sequence" | "corrected-at"; sources: { artifactId: string; namespace: string; mappingVersion: string; additionalArtifacts?: { artifactId: string; mappingVersion: string; }[] | undefined; }[]; historyContractVersion: "actuarial-history/1"; datasetId: string; historyMode: "full-snapshots" | "changes" | "mixed"; missingSnapshotRecord: "unknown" | "carried-forward"; records: { revision: { id: string; action: "upsert" | "delete"; sequence?: number | undefined; correctedAt?: string | undefined; }; source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; recordId: string; sourceNamespace: string; claimId: string; grain: "claim-snapshot" | "claim-component-snapshot" | "transaction"; measures: Record; completeness: "complete-snapshot" | "partial-snapshot" | "change-only"; status?: string | undefined; evaluationDate?: string | undefined; dimensions?: Record | undefined; effectiveDate?: string | undefined; componentId?: string | undefined; accidentDate?: string | undefined; reportDate?: string | undefined; relationships?: { claimantIds?: string[] | undefined; occurrenceId?: string | undefined; policyIds?: string[] | undefined; coverageIds?: string[] | undefined; } | undefined; }[]; evaluationDates?: string[] | undefined; openingBalances?: { source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; sourceNamespace: string; claimId: string; measures: Record; asOfDate: string; }[] | undefined; }, { revisionView: { kind: "as-known"; knowledgeCutoff: string; } | { kind: "restated"; }; revisionPrecedence: "sequence" | "corrected-at"; sources: { artifactId: string; namespace: string; mappingVersion: string; additionalArtifacts?: { artifactId: string; mappingVersion: string; }[] | undefined; }[]; historyContractVersion: "actuarial-history/1"; datasetId: string; historyMode: "full-snapshots" | "changes" | "mixed"; missingSnapshotRecord: "unknown" | "carried-forward"; records: { revision: { id: string; action: "upsert" | "delete"; sequence?: number | undefined; correctedAt?: string | undefined; }; source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; recordId: string; sourceNamespace: string; claimId: string; grain: "claim-snapshot" | "claim-component-snapshot" | "transaction"; measures: Record; completeness: "complete-snapshot" | "partial-snapshot" | "change-only"; status?: string | undefined; evaluationDate?: string | undefined; dimensions?: Record | undefined; effectiveDate?: string | undefined; componentId?: string | undefined; accidentDate?: string | undefined; reportDate?: string | undefined; relationships?: { claimantIds?: string[] | undefined; occurrenceId?: string | undefined; policyIds?: string[] | undefined; coverageIds?: string[] | undefined; } | undefined; }[]; evaluationDates?: string[] | undefined; openingBalances?: { source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; sourceNamespace: string; claimId: string; measures: Record; asOfDate: string; }[] | undefined; }>; definition: z.ZodEffects; id: z.ZodEffects; version: z.ZodEffects; dimensions: z.ZodArray; type: z.ZodEnum<["string", "number", "boolean", "date", "entity-reference"]>; multiple: z.ZodBoolean; }, "strict", z.ZodTypeAny, { type: "string" | "number" | "boolean" | "date" | "entity-reference"; id: string; multiple: boolean; }, { type: "string" | "number" | "boolean" | "date" | "entity-reference"; id: string; multiple: boolean; }>, "many">; scopes: z.ZodObject<{ financial: z.ZodObject<{ id: z.ZodEffects; subject: z.ZodEnum<["claim", "claimant", "occurrence", "policy", "coverage"]>; predicate: z.ZodType; classification: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"as-observed">; }, "strict", z.ZodTypeAny, { kind: "as-observed"; }, { kind: "as-observed"; }>, z.ZodObject<{ kind: z.ZodLiteral<"latest-as-of-analysis">; asOfDate: z.ZodEffects; }, "strict", z.ZodTypeAny, { kind: "latest-as-of-analysis"; asOfDate: string; }, { kind: "latest-as-of-analysis"; asOfDate: string; }>, z.ZodObject<{ kind: z.ZodLiteral<"frozen-cohort">; asOfDate: z.ZodEffects; }, "strict", z.ZodTypeAny, { kind: "frozen-cohort"; asOfDate: string; }, { kind: "frozen-cohort"; asOfDate: string; }>]>; }, "strict", z.ZodTypeAny, { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }, { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }>; reporting: z.ZodObject<{ id: z.ZodEffects; subject: z.ZodEnum<["claim", "claimant", "occurrence", "policy", "coverage"]>; predicate: z.ZodType; classification: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"as-observed">; }, "strict", z.ZodTypeAny, { kind: "as-observed"; }, { kind: "as-observed"; }>, z.ZodObject<{ kind: z.ZodLiteral<"latest-as-of-analysis">; asOfDate: z.ZodEffects; }, "strict", z.ZodTypeAny, { kind: "latest-as-of-analysis"; asOfDate: string; }, { kind: "latest-as-of-analysis"; asOfDate: string; }>, z.ZodObject<{ kind: z.ZodLiteral<"frozen-cohort">; asOfDate: z.ZodEffects; }, "strict", z.ZodTypeAny, { kind: "frozen-cohort"; asOfDate: string; }, { kind: "frozen-cohort"; asOfDate: string; }>]>; }, "strict", z.ZodTypeAny, { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }, { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }>; exposure: z.ZodArray; populationKeys: z.ZodArray, "many">; timeBasis: z.ZodEnum<["interval", "point-in-time", "already-earned"]>; reportingFilterEffect: z.ZodEnum<["none", "matching-exposure-dimensions"]>; valuationSelection: z.ZodOptional>; }, "strict", z.ZodTypeAny, { id: string; populationKeys: string[]; timeBasis: "point-in-time" | "interval" | "already-earned"; reportingFilterEffect: "none" | "matching-exposure-dimensions"; valuationSelection?: "exact" | "origin-static" | "latest-on-or-before" | undefined; }, { id: string; populationKeys: string[]; timeBasis: "point-in-time" | "interval" | "already-earned"; reportingFilterEffect: "none" | "matching-exposure-dimensions"; valuationSelection?: "exact" | "origin-static" | "latest-on-or-before" | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { exposure: { id: string; populationKeys: string[]; timeBasis: "point-in-time" | "interval" | "already-earned"; reportingFilterEffect: "none" | "matching-exposure-dimensions"; valuationSelection?: "exact" | "origin-static" | "latest-on-or-before" | undefined; }[]; financial: { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }; reporting: { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }; }, { exposure: { id: string; populationKeys: string[]; timeBasis: "point-in-time" | "interval" | "already-earned"; reportingFilterEffect: "none" | "matching-exposure-dimensions"; valuationSelection?: "exact" | "origin-static" | "latest-on-or-before" | undefined; }[]; financial: { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }; reporting: { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }; }>; policySchedule: z.ZodArray; label: z.ZodEffects; scope: z.ZodEffects, string, string>, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, Record, Record>; startDate: z.ZodEffects; endDate: z.ZodEffects; revisionId: z.ZodEffects; }, "strict", z.ZodTypeAny, { id: string; startDate: string; endDate: string; revisionId: string; label: string; scope: Record; }, { id: string; startDate: string; endDate: string; revisionId: string; label: string; scope: Record; }>, { id: string; startDate: string; endDate: string; revisionId: string; label: string; scope: Record; }, { id: string; startDate: string; endDate: string; revisionId: string; label: string; scope: Record; }>, "many">; period: z.ZodObject<{ originBasis: z.ZodEnum<["accident", "report", "policy"]>; grouping: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"calendar">; cadence: z.ZodEnum<["month", "quarter", "year"]>; }, "strict", z.ZodTypeAny, { kind: "calendar"; cadence: "month" | "quarter" | "year"; }, { kind: "calendar"; cadence: "month" | "quarter" | "year"; }>, z.ZodObject<{ kind: z.ZodLiteral<"fiscal">; cadence: z.ZodEnum<["quarter", "year"]>; startMonth: z.ZodNumber; }, "strict", z.ZodTypeAny, { kind: "fiscal"; cadence: "quarter" | "year"; startMonth: number; }, { kind: "fiscal"; cadence: "quarter" | "year"; startMonth: number; }>, z.ZodObject<{ kind: z.ZodLiteral<"policy-schedule">; periodIds: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { kind: "policy-schedule"; periodIds: string[]; }, { kind: "policy-schedule"; periodIds: string[]; }>]>; comparisonClock: z.ZodEnum<["common-evaluation-date", "since-period-start", "since-period-end", "matched-accident-cohorts"]>; ageConvention: z.ZodEnum<["exact-days", "calendar-months"]>; observationSelection: z.ZodEnum<["exact", "latest-on-or-before"]>; }, "strict", z.ZodTypeAny, { originBasis: "policy" | "accident" | "report"; grouping: { kind: "calendar"; cadence: "month" | "quarter" | "year"; } | { kind: "fiscal"; cadence: "quarter" | "year"; startMonth: number; } | { kind: "policy-schedule"; periodIds: string[]; }; comparisonClock: "common-evaluation-date" | "since-period-start" | "since-period-end" | "matched-accident-cohorts"; ageConvention: "exact-days" | "calendar-months"; observationSelection: "exact" | "latest-on-or-before"; }, { originBasis: "policy" | "accident" | "report"; grouping: { kind: "calendar"; cadence: "month" | "quarter" | "year"; } | { kind: "fiscal"; cadence: "quarter" | "year"; startMonth: number; } | { kind: "policy-schedule"; periodIds: string[]; }; comparisonClock: "common-evaluation-date" | "since-period-start" | "since-period-end" | "matched-accident-cohorts"; ageConvention: "exact-days" | "calendar-months"; observationSelection: "exact" | "latest-on-or-before"; }>; exposures: z.ZodArray; unit: z.ZodEffects; sourceMeaning: z.ZodEnum<["already-earned", "written-over-interval", "flow-over-interval", "point-in-time"]>; earning: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"supplied">; }, "strict", z.ZodTypeAny, { kind: "supplied"; }, { kind: "supplied"; }>, z.ZodObject<{ kind: z.ZodLiteral<"uniform-daily">; dayCount: z.ZodLiteral<"actual-days">; }, "strict", z.ZodTypeAny, { kind: "uniform-daily"; dayCount: "actual-days"; }, { kind: "uniform-daily"; dayCount: "actual-days"; }>, z.ZodObject<{ kind: z.ZodLiteral<"weighted">; scheduleId: z.ZodEffects; }, "strict", z.ZodTypeAny, { kind: "weighted"; scheduleId: string; }, { kind: "weighted"; scheduleId: string; }>]>; allocation: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"exact-match">; }, "strict", z.ZodTypeAny, { kind: "exact-match"; }, { kind: "exact-match"; }>, z.ZodObject<{ kind: z.ZodLiteral<"time-overlap">; }, "strict", z.ZodTypeAny, { kind: "time-overlap"; }, { kind: "time-overlap"; }>, z.ZodObject<{ kind: z.ZodLiteral<"supplied-weights">; weightMeasureId: z.ZodEffects; }, "strict", z.ZodTypeAny, { kind: "supplied-weights"; weightMeasureId: string; }, { kind: "supplied-weights"; weightMeasureId: string; }>]>; scopeId: z.ZodEffects; }, "strict", z.ZodTypeAny, { id: string; unit: string; allocation: { kind: "exact-match"; } | { kind: "time-overlap"; } | { kind: "supplied-weights"; weightMeasureId: string; }; sourceMeaning: "point-in-time" | "already-earned" | "written-over-interval" | "flow-over-interval"; earning: { kind: "supplied"; } | { kind: "uniform-daily"; dayCount: "actual-days"; } | { kind: "weighted"; scheduleId: string; }; scopeId: string; }, { id: string; unit: string; allocation: { kind: "exact-match"; } | { kind: "time-overlap"; } | { kind: "supplied-weights"; weightMeasureId: string; }; sourceMeaning: "point-in-time" | "already-earned" | "written-over-interval" | "flow-over-interval"; earning: { kind: "supplied"; } | { kind: "uniform-daily"; dayCount: "actual-days"; } | { kind: "weighted"; scheduleId: string; }; scopeId: string; }>, "many">; measures: z.ZodArray; unit: z.ZodEffects; developmentSemantics: z.ZodEnum<["cumulative", "incremental", "point-in-time"]>; statistic: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"sum">; measureId: z.ZodEffects; }, "strict", z.ZodTypeAny, { measureId: string; kind: "sum"; }, { measureId: string; kind: "sum"; }>, z.ZodObject<{ kind: z.ZodLiteral<"ratio">; numeratorMeasureId: z.ZodEffects; denominatorMeasureId: z.ZodEffects; scale: z.ZodNumber; denominatorRule: z.ZodLiteral<"positive">; }, "strict", z.ZodTypeAny, { kind: "ratio"; numeratorMeasureId: string; denominatorMeasureId: string; scale: number; denominatorRule: "positive"; }, { kind: "ratio"; numeratorMeasureId: string; denominatorMeasureId: string; scale: number; denominatorRule: "positive"; }>, z.ZodObject<{ kind: z.ZodLiteral<"distinct-count">; entity: z.ZodEnum<["claim", "claimant", "occurrence", "policy", "coverage"]>; }, "strict", z.ZodTypeAny, { kind: "distinct-count"; entity: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; }, { kind: "distinct-count"; entity: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; }>, z.ZodObject<{ kind: z.ZodLiteral<"weighted-mean">; measureId: z.ZodEffects; weightMeasureId: z.ZodEffects; }, "strict", z.ZodTypeAny, { measureId: string; kind: "weighted-mean"; weightMeasureId: string; }, { measureId: string; kind: "weighted-mean"; weightMeasureId: string; }>, z.ZodObject<{ kind: z.ZodEnum<["minimum", "maximum"]>; measureId: z.ZodEffects; }, "strict", z.ZodTypeAny, { measureId: string; kind: "minimum" | "maximum"; }, { measureId: string; kind: "minimum" | "maximum"; }>, z.ZodObject<{ kind: z.ZodLiteral<"quantile">; measureId: z.ZodEffects; probability: z.ZodNumber; method: z.ZodLiteral<"hf-type-7">; }, "strict", z.ZodTypeAny, { measureId: string; kind: "quantile"; probability: number; method: "hf-type-7"; }, { measureId: string; kind: "quantile"; probability: number; method: "hf-type-7"; }>, z.ZodObject<{ kind: z.ZodLiteral<"duration">; start: z.ZodEnum<["accident-date", "report-date"]>; end: z.ZodEnum<["report-date", "closed-date", "evaluation-date"]>; unit: z.ZodLiteral<"days">; population: z.ZodEnum<["all-with-observed-endpoint", "closed-only"]>; }, "strict", z.ZodTypeAny, { kind: "duration"; start: "accident-date" | "report-date"; end: "report-date" | "closed-date" | "evaluation-date"; unit: "days"; population: "all-with-observed-endpoint" | "closed-only"; }, { kind: "duration"; start: "accident-date" | "report-date"; end: "report-date" | "closed-date" | "evaluation-date"; unit: "days"; population: "all-with-observed-endpoint" | "closed-only"; }>, z.ZodObject<{ kind: z.ZodLiteral<"survival-quantile">; start: z.ZodEnum<["accident-date", "report-date"]>; event: z.ZodLiteral<"closed-date">; censor: z.ZodLiteral<"evaluation-date">; unit: z.ZodLiteral<"days">; probability: z.ZodNumber; method: z.ZodLiteral<"kaplan-meier-product-limit">; }, "strict", z.ZodTypeAny, { kind: "survival-quantile"; probability: number; method: "kaplan-meier-product-limit"; start: "accident-date" | "report-date"; unit: "days"; event: "closed-date"; censor: "evaluation-date"; }, { kind: "survival-quantile"; probability: number; method: "kaplan-meier-product-limit"; start: "accident-date" | "report-date"; unit: "days"; event: "closed-date"; censor: "evaluation-date"; }>]>; unitFactors: z.ZodOptional, string, string>, z.ZodNumber>, Record, Record>, Record, Record>>; populationScopeId: z.ZodEffects; condition: z.ZodOptional>; }, "strict", z.ZodTypeAny, { id: string; unit: string; developmentSemantics: "cumulative" | "incremental" | "point-in-time"; statistic: { measureId: string; kind: "sum"; } | { kind: "ratio"; numeratorMeasureId: string; denominatorMeasureId: string; scale: number; denominatorRule: "positive"; } | { kind: "distinct-count"; entity: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; } | { measureId: string; kind: "weighted-mean"; weightMeasureId: string; } | { measureId: string; kind: "minimum" | "maximum"; } | { measureId: string; kind: "quantile"; probability: number; method: "hf-type-7"; } | { kind: "duration"; start: "accident-date" | "report-date"; end: "report-date" | "closed-date" | "evaluation-date"; unit: "days"; population: "all-with-observed-endpoint" | "closed-only"; } | { kind: "survival-quantile"; probability: number; method: "kaplan-meier-product-limit"; start: "accident-date" | "report-date"; unit: "days"; event: "closed-date"; censor: "evaluation-date"; }; populationScopeId: string; unitFactors?: Record | undefined; condition?: import("@actuarial-ts/core").AnalysisPredicate | undefined; }, { id: string; unit: string; developmentSemantics: "cumulative" | "incremental" | "point-in-time"; statistic: { measureId: string; kind: "sum"; } | { kind: "ratio"; numeratorMeasureId: string; denominatorMeasureId: string; scale: number; denominatorRule: "positive"; } | { kind: "distinct-count"; entity: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; } | { measureId: string; kind: "weighted-mean"; weightMeasureId: string; } | { measureId: string; kind: "minimum" | "maximum"; } | { measureId: string; kind: "quantile"; probability: number; method: "hf-type-7"; } | { kind: "duration"; start: "accident-date" | "report-date"; end: "report-date" | "closed-date" | "evaluation-date"; unit: "days"; population: "all-with-observed-endpoint" | "closed-only"; } | { kind: "survival-quantile"; probability: number; method: "kaplan-meier-product-limit"; start: "accident-date" | "report-date"; unit: "days"; event: "closed-date"; censor: "evaluation-date"; }; populationScopeId: string; unitFactors?: Record | undefined; condition?: import("@actuarial-ts/core").AnalysisPredicate | undefined; }>, "many">; derivedMeasures: z.ZodOptional; expression: z.ZodType; developmentSemantics: z.ZodEnum<["cumulative", "incremental", "point-in-time"]>; }, "strict", z.ZodTypeAny, { id: string; developmentSemantics: "cumulative" | "incremental" | "point-in-time"; expression: import("@actuarial-ts/core").AnalysisMeasureExpression; }, { id: string; developmentSemantics: "cumulative" | "incremental" | "point-in-time"; expression: import("@actuarial-ts/core").AnalysisMeasureExpression; }>, "many">>; financialTerms: z.ZodArray; id: z.ZodEffects; measureId: z.ZodEffects; attachment: z.ZodNumber; limit: z.ZodNullable; allocation: z.ZodLiteral<"proportional">; }, "strict", z.ZodTypeAny, { id: string; measureId: string; kind: "claim-layer" | "occurrence-layer"; attachment: number; limit: number | null; allocation: "proportional"; }, { id: string; measureId: string; kind: "claim-layer" | "occurrence-layer"; attachment: number; limit: number | null; allocation: "proportional"; }>, z.ZodObject<{ kind: z.ZodLiteral<"policy-aggregate">; id: z.ZodEffects; measureId: z.ZodEffects; deductible: z.ZodNumber; limit: z.ZodNullable; allocation: z.ZodEnum<["proportional", "chronological"]>; }, "strict", z.ZodTypeAny, { id: string; measureId: string; kind: "policy-aggregate"; limit: number | null; allocation: "proportional" | "chronological"; deductible: number; }, { id: string; measureId: string; kind: "policy-aggregate"; limit: number | null; allocation: "proportional" | "chronological"; deductible: number; }>]>, "many">; financialAdjustments: z.ZodOptional; id: z.ZodEffects; purpose: z.ZodEnum<["trend", "index"]>; factor: z.ZodNumber; }, "strict", z.ZodTypeAny, { id: string; kind: "scale"; purpose: "trend" | "index"; factor: number; }, { id: string; kind: "scale"; purpose: "trend" | "index"; factor: number; }>, z.ZodObject<{ kind: z.ZodLiteral<"currency">; id: z.ZodEffects; fromUnit: z.ZodEffects; toUnit: z.ZodEffects; rate: z.ZodNumber; rateDate: z.ZodEffects; }, "strict", z.ZodTypeAny, { id: string; kind: "currency"; fromUnit: string; toUnit: string; rate: number; rateDate: string; }, { id: string; kind: "currency"; fromUnit: string; toUnit: string; rate: number; rateDate: string; }>, z.ZodObject<{ kind: z.ZodEnum<["include-expense", "exclude-expense"]>; id: z.ZodEffects; expenseMeasureId: z.ZodEffects; }, "strict", z.ZodTypeAny, { id: string; kind: "include-expense" | "exclude-expense"; expenseMeasureId: string; }, { id: string; kind: "include-expense" | "exclude-expense"; expenseMeasureId: string; }>, z.ZodObject<{ kind: z.ZodLiteral<"net-recovery">; id: z.ZodEffects; recoveryMeasureId: z.ZodEffects; }, "strict", z.ZodTypeAny, { id: string; kind: "net-recovery"; recoveryMeasureId: string; }, { id: string; kind: "net-recovery"; recoveryMeasureId: string; }>]>, "many">>; classifications: z.ZodOptional>, "many">>; }, "strict", z.ZodTypeAny, { id: string; dimensions: { type: "string" | "number" | "boolean" | "date" | "entity-reference"; id: string; multiple: boolean; }[]; measures: { id: string; unit: string; developmentSemantics: "cumulative" | "incremental" | "point-in-time"; statistic: { measureId: string; kind: "sum"; } | { kind: "ratio"; numeratorMeasureId: string; denominatorMeasureId: string; scale: number; denominatorRule: "positive"; } | { kind: "distinct-count"; entity: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; } | { measureId: string; kind: "weighted-mean"; weightMeasureId: string; } | { measureId: string; kind: "minimum" | "maximum"; } | { measureId: string; kind: "quantile"; probability: number; method: "hf-type-7"; } | { kind: "duration"; start: "accident-date" | "report-date"; end: "report-date" | "closed-date" | "evaluation-date"; unit: "days"; population: "all-with-observed-endpoint" | "closed-only"; } | { kind: "survival-quantile"; probability: number; method: "kaplan-meier-product-limit"; start: "accident-date" | "report-date"; unit: "days"; event: "closed-date"; censor: "evaluation-date"; }; populationScopeId: string; unitFactors?: Record | undefined; condition?: import("@actuarial-ts/core").AnalysisPredicate | undefined; }[]; analysisContractVersion: "actuarial-analysis/1"; version: string; scopes: { exposure: { id: string; populationKeys: string[]; timeBasis: "point-in-time" | "interval" | "already-earned"; reportingFilterEffect: "none" | "matching-exposure-dimensions"; valuationSelection?: "exact" | "origin-static" | "latest-on-or-before" | undefined; }[]; financial: { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }; reporting: { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }; }; policySchedule: { id: string; startDate: string; endDate: string; revisionId: string; label: string; scope: Record; }[]; period: { originBasis: "policy" | "accident" | "report"; grouping: { kind: "calendar"; cadence: "month" | "quarter" | "year"; } | { kind: "fiscal"; cadence: "quarter" | "year"; startMonth: number; } | { kind: "policy-schedule"; periodIds: string[]; }; comparisonClock: "common-evaluation-date" | "since-period-start" | "since-period-end" | "matched-accident-cohorts"; ageConvention: "exact-days" | "calendar-months"; observationSelection: "exact" | "latest-on-or-before"; }; exposures: { id: string; unit: string; allocation: { kind: "exact-match"; } | { kind: "time-overlap"; } | { kind: "supplied-weights"; weightMeasureId: string; }; sourceMeaning: "point-in-time" | "already-earned" | "written-over-interval" | "flow-over-interval"; earning: { kind: "supplied"; } | { kind: "uniform-daily"; dayCount: "actual-days"; } | { kind: "weighted"; scheduleId: string; }; scopeId: string; }[]; financialTerms: ({ id: string; measureId: string; kind: "claim-layer" | "occurrence-layer"; attachment: number; limit: number | null; allocation: "proportional"; } | { id: string; measureId: string; kind: "policy-aggregate"; limit: number | null; allocation: "proportional" | "chronological"; deductible: number; })[]; derivedMeasures?: { id: string; developmentSemantics: "cumulative" | "incremental" | "point-in-time"; expression: import("@actuarial-ts/core").AnalysisMeasureExpression; }[] | undefined; financialAdjustments?: ({ id: string; kind: "scale"; purpose: "trend" | "index"; factor: number; } | { id: string; kind: "currency"; fromUnit: string; toUnit: string; rate: number; rateDate: string; } | { id: string; kind: "include-expense" | "exclude-expense"; expenseMeasureId: string; } | { id: string; kind: "net-recovery"; recoveryMeasureId: string; })[] | undefined; classifications?: import("@actuarial-ts/core").AnalysisClassificationDefinition[] | undefined; }, { id: string; dimensions: { type: "string" | "number" | "boolean" | "date" | "entity-reference"; id: string; multiple: boolean; }[]; measures: { id: string; unit: string; developmentSemantics: "cumulative" | "incremental" | "point-in-time"; statistic: { measureId: string; kind: "sum"; } | { kind: "ratio"; numeratorMeasureId: string; denominatorMeasureId: string; scale: number; denominatorRule: "positive"; } | { kind: "distinct-count"; entity: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; } | { measureId: string; kind: "weighted-mean"; weightMeasureId: string; } | { measureId: string; kind: "minimum" | "maximum"; } | { measureId: string; kind: "quantile"; probability: number; method: "hf-type-7"; } | { kind: "duration"; start: "accident-date" | "report-date"; end: "report-date" | "closed-date" | "evaluation-date"; unit: "days"; population: "all-with-observed-endpoint" | "closed-only"; } | { kind: "survival-quantile"; probability: number; method: "kaplan-meier-product-limit"; start: "accident-date" | "report-date"; unit: "days"; event: "closed-date"; censor: "evaluation-date"; }; populationScopeId: string; unitFactors?: Record | undefined; condition?: import("@actuarial-ts/core").AnalysisPredicate | undefined; }[]; analysisContractVersion: "actuarial-analysis/1"; version: string; scopes: { exposure: { id: string; populationKeys: string[]; timeBasis: "point-in-time" | "interval" | "already-earned"; reportingFilterEffect: "none" | "matching-exposure-dimensions"; valuationSelection?: "exact" | "origin-static" | "latest-on-or-before" | undefined; }[]; financial: { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }; reporting: { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }; }; policySchedule: { id: string; startDate: string; endDate: string; revisionId: string; label: string; scope: Record; }[]; period: { originBasis: "policy" | "accident" | "report"; grouping: { kind: "calendar"; cadence: "month" | "quarter" | "year"; } | { kind: "fiscal"; cadence: "quarter" | "year"; startMonth: number; } | { kind: "policy-schedule"; periodIds: string[]; }; comparisonClock: "common-evaluation-date" | "since-period-start" | "since-period-end" | "matched-accident-cohorts"; ageConvention: "exact-days" | "calendar-months"; observationSelection: "exact" | "latest-on-or-before"; }; exposures: { id: string; unit: string; allocation: { kind: "exact-match"; } | { kind: "time-overlap"; } | { kind: "supplied-weights"; weightMeasureId: string; }; sourceMeaning: "point-in-time" | "already-earned" | "written-over-interval" | "flow-over-interval"; earning: { kind: "supplied"; } | { kind: "uniform-daily"; dayCount: "actual-days"; } | { kind: "weighted"; scheduleId: string; }; scopeId: string; }[]; financialTerms: ({ id: string; measureId: string; kind: "claim-layer" | "occurrence-layer"; attachment: number; limit: number | null; allocation: "proportional"; } | { id: string; measureId: string; kind: "policy-aggregate"; limit: number | null; allocation: "proportional" | "chronological"; deductible: number; })[]; derivedMeasures?: { id: string; developmentSemantics: "cumulative" | "incremental" | "point-in-time"; expression: import("@actuarial-ts/core").AnalysisMeasureExpression; }[] | undefined; financialAdjustments?: ({ id: string; kind: "scale"; purpose: "trend" | "index"; factor: number; } | { id: string; kind: "currency"; fromUnit: string; toUnit: string; rate: number; rateDate: string; } | { id: string; kind: "include-expense" | "exclude-expense"; expenseMeasureId: string; } | { id: string; kind: "net-recovery"; recoveryMeasureId: string; })[] | undefined; classifications?: import("@actuarial-ts/core").AnalysisClassificationDefinition[] | undefined; }>, { id: string; dimensions: { type: "string" | "number" | "boolean" | "date" | "entity-reference"; id: string; multiple: boolean; }[]; measures: { id: string; unit: string; developmentSemantics: "cumulative" | "incremental" | "point-in-time"; statistic: { measureId: string; kind: "sum"; } | { kind: "ratio"; numeratorMeasureId: string; denominatorMeasureId: string; scale: number; denominatorRule: "positive"; } | { kind: "distinct-count"; entity: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; } | { measureId: string; kind: "weighted-mean"; weightMeasureId: string; } | { measureId: string; kind: "minimum" | "maximum"; } | { measureId: string; kind: "quantile"; probability: number; method: "hf-type-7"; } | { kind: "duration"; start: "accident-date" | "report-date"; end: "report-date" | "closed-date" | "evaluation-date"; unit: "days"; population: "all-with-observed-endpoint" | "closed-only"; } | { kind: "survival-quantile"; probability: number; method: "kaplan-meier-product-limit"; start: "accident-date" | "report-date"; unit: "days"; event: "closed-date"; censor: "evaluation-date"; }; populationScopeId: string; unitFactors?: Record | undefined; condition?: import("@actuarial-ts/core").AnalysisPredicate | undefined; }[]; analysisContractVersion: "actuarial-analysis/1"; version: string; scopes: { exposure: { id: string; populationKeys: string[]; timeBasis: "point-in-time" | "interval" | "already-earned"; reportingFilterEffect: "none" | "matching-exposure-dimensions"; valuationSelection?: "exact" | "origin-static" | "latest-on-or-before" | undefined; }[]; financial: { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }; reporting: { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }; }; policySchedule: { id: string; startDate: string; endDate: string; revisionId: string; label: string; scope: Record; }[]; period: { originBasis: "policy" | "accident" | "report"; grouping: { kind: "calendar"; cadence: "month" | "quarter" | "year"; } | { kind: "fiscal"; cadence: "quarter" | "year"; startMonth: number; } | { kind: "policy-schedule"; periodIds: string[]; }; comparisonClock: "common-evaluation-date" | "since-period-start" | "since-period-end" | "matched-accident-cohorts"; ageConvention: "exact-days" | "calendar-months"; observationSelection: "exact" | "latest-on-or-before"; }; exposures: { id: string; unit: string; allocation: { kind: "exact-match"; } | { kind: "time-overlap"; } | { kind: "supplied-weights"; weightMeasureId: string; }; sourceMeaning: "point-in-time" | "already-earned" | "written-over-interval" | "flow-over-interval"; earning: { kind: "supplied"; } | { kind: "uniform-daily"; dayCount: "actual-days"; } | { kind: "weighted"; scheduleId: string; }; scopeId: string; }[]; financialTerms: ({ id: string; measureId: string; kind: "claim-layer" | "occurrence-layer"; attachment: number; limit: number | null; allocation: "proportional"; } | { id: string; measureId: string; kind: "policy-aggregate"; limit: number | null; allocation: "proportional" | "chronological"; deductible: number; })[]; derivedMeasures?: { id: string; developmentSemantics: "cumulative" | "incremental" | "point-in-time"; expression: import("@actuarial-ts/core").AnalysisMeasureExpression; }[] | undefined; financialAdjustments?: ({ id: string; kind: "scale"; purpose: "trend" | "index"; factor: number; } | { id: string; kind: "currency"; fromUnit: string; toUnit: string; rate: number; rateDate: string; } | { id: string; kind: "include-expense" | "exclude-expense"; expenseMeasureId: string; } | { id: string; kind: "net-recovery"; recoveryMeasureId: string; })[] | undefined; classifications?: import("@actuarial-ts/core").AnalysisClassificationDefinition[] | undefined; }, { id: string; dimensions: { type: "string" | "number" | "boolean" | "date" | "entity-reference"; id: string; multiple: boolean; }[]; measures: { id: string; unit: string; developmentSemantics: "cumulative" | "incremental" | "point-in-time"; statistic: { measureId: string; kind: "sum"; } | { kind: "ratio"; numeratorMeasureId: string; denominatorMeasureId: string; scale: number; denominatorRule: "positive"; } | { kind: "distinct-count"; entity: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; } | { measureId: string; kind: "weighted-mean"; weightMeasureId: string; } | { measureId: string; kind: "minimum" | "maximum"; } | { measureId: string; kind: "quantile"; probability: number; method: "hf-type-7"; } | { kind: "duration"; start: "accident-date" | "report-date"; end: "report-date" | "closed-date" | "evaluation-date"; unit: "days"; population: "all-with-observed-endpoint" | "closed-only"; } | { kind: "survival-quantile"; probability: number; method: "kaplan-meier-product-limit"; start: "accident-date" | "report-date"; unit: "days"; event: "closed-date"; censor: "evaluation-date"; }; populationScopeId: string; unitFactors?: Record | undefined; condition?: import("@actuarial-ts/core").AnalysisPredicate | undefined; }[]; analysisContractVersion: "actuarial-analysis/1"; version: string; scopes: { exposure: { id: string; populationKeys: string[]; timeBasis: "point-in-time" | "interval" | "already-earned"; reportingFilterEffect: "none" | "matching-exposure-dimensions"; valuationSelection?: "exact" | "origin-static" | "latest-on-or-before" | undefined; }[]; financial: { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }; reporting: { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }; }; policySchedule: { id: string; startDate: string; endDate: string; revisionId: string; label: string; scope: Record; }[]; period: { originBasis: "policy" | "accident" | "report"; grouping: { kind: "calendar"; cadence: "month" | "quarter" | "year"; } | { kind: "fiscal"; cadence: "quarter" | "year"; startMonth: number; } | { kind: "policy-schedule"; periodIds: string[]; }; comparisonClock: "common-evaluation-date" | "since-period-start" | "since-period-end" | "matched-accident-cohorts"; ageConvention: "exact-days" | "calendar-months"; observationSelection: "exact" | "latest-on-or-before"; }; exposures: { id: string; unit: string; allocation: { kind: "exact-match"; } | { kind: "time-overlap"; } | { kind: "supplied-weights"; weightMeasureId: string; }; sourceMeaning: "point-in-time" | "already-earned" | "written-over-interval" | "flow-over-interval"; earning: { kind: "supplied"; } | { kind: "uniform-daily"; dayCount: "actual-days"; } | { kind: "weighted"; scheduleId: string; }; scopeId: string; }[]; financialTerms: ({ id: string; measureId: string; kind: "claim-layer" | "occurrence-layer"; attachment: number; limit: number | null; allocation: "proportional"; } | { id: string; measureId: string; kind: "policy-aggregate"; limit: number | null; allocation: "proportional" | "chronological"; deductible: number; })[]; derivedMeasures?: { id: string; developmentSemantics: "cumulative" | "incremental" | "point-in-time"; expression: import("@actuarial-ts/core").AnalysisMeasureExpression; }[] | undefined; financialAdjustments?: ({ id: string; kind: "scale"; purpose: "trend" | "index"; factor: number; } | { id: string; kind: "currency"; fromUnit: string; toUnit: string; rate: number; rateDate: string; } | { id: string; kind: "include-expense" | "exclude-expense"; expenseMeasureId: string; } | { id: string; kind: "net-recovery"; recoveryMeasureId: string; })[] | undefined; classifications?: import("@actuarial-ts/core").AnalysisClassificationDefinition[] | undefined; }>; recipe: z.ZodEffects; id: z.ZodEffects; version: z.ZodEffects; analysisDefinitionId: z.ZodEffects; steps: z.ZodArray; historyContractId: z.ZodEffects; }, "strict", z.ZodTypeAny, { kind: "prepare-history"; historyContractId: string; }, { kind: "prepare-history"; historyContractId: string; }>, z.ZodObject<{ kind: z.ZodLiteral<"assign-periods">; analysisDefinitionId: z.ZodEffects; }, "strict", z.ZodTypeAny, { kind: "assign-periods"; analysisDefinitionId: string; }, { kind: "assign-periods"; analysisDefinitionId: string; }>, z.ZodObject<{ kind: z.ZodLiteral<"earn-exposure">; exposureMeasureIds: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { kind: "earn-exposure"; exposureMeasureIds: string[]; }, { kind: "earn-exposure"; exposureMeasureIds: string[]; }>, z.ZodObject<{ kind: z.ZodLiteral<"apply-financial-terms">; termIds: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { kind: "apply-financial-terms"; termIds: string[]; }, { kind: "apply-financial-terms"; termIds: string[]; }>, z.ZodObject<{ kind: z.ZodLiteral<"apply-financial-pipeline">; amountMeasureId: z.ZodEffects; stageIds: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { kind: "apply-financial-pipeline"; amountMeasureId: string; stageIds: string[]; }, { kind: "apply-financial-pipeline"; amountMeasureId: string; stageIds: string[]; }>, z.ZodObject<{ kind: z.ZodLiteral<"calculate">; measureIds: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { kind: "calculate"; measureIds: string[]; }, { kind: "calculate"; measureIds: string[]; }>, z.ZodObject<{ kind: z.ZodLiteral<"classify">; classificationIds: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { kind: "classify"; classificationIds: string[]; }, { kind: "classify"; classificationIds: string[]; }>, z.ZodObject<{ kind: z.ZodLiteral<"adapt-diagnostics">; diagnosticDefinitionId: z.ZodEffects; }, "strict", z.ZodTypeAny, { kind: "adapt-diagnostics"; diagnosticDefinitionId: string; }, { kind: "adapt-diagnostics"; diagnosticDefinitionId: string; }>]>, "many">; requiredCapabilities: z.ZodArray, "many">; parameters: z.ZodEffects, string, string>, z.ZodType>, Record, Record>; }, "strict", z.ZodTypeAny, { id: string; version: string; analysisDefinitionId: string; recipeContractVersion: "actuarial-recipe/1"; steps: ({ kind: "prepare-history"; historyContractId: string; } | { kind: "assign-periods"; analysisDefinitionId: string; } | { kind: "earn-exposure"; exposureMeasureIds: string[]; } | { kind: "apply-financial-terms"; termIds: string[]; } | { kind: "apply-financial-pipeline"; amountMeasureId: string; stageIds: string[]; } | { kind: "calculate"; measureIds: string[]; } | { kind: "classify"; classificationIds: string[]; } | { kind: "adapt-diagnostics"; diagnosticDefinitionId: string; })[]; requiredCapabilities: ("history-snapshots" | "history-changes" | "irregular-periods" | "exposure-earning" | "typed-populations" | "descriptive-statistics" | "derived-analysis-measures" | "reserving-triangle-adapter" | "bounded-execution" | "shared-financial-terms" | "recipes" | "scenarios")[]; parameters: Record; }, { id: string; version: string; analysisDefinitionId: string; recipeContractVersion: "actuarial-recipe/1"; steps: ({ kind: "prepare-history"; historyContractId: string; } | { kind: "assign-periods"; analysisDefinitionId: string; } | { kind: "earn-exposure"; exposureMeasureIds: string[]; } | { kind: "apply-financial-terms"; termIds: string[]; } | { kind: "apply-financial-pipeline"; amountMeasureId: string; stageIds: string[]; } | { kind: "calculate"; measureIds: string[]; } | { kind: "classify"; classificationIds: string[]; } | { kind: "adapt-diagnostics"; diagnosticDefinitionId: string; })[]; requiredCapabilities: ("history-snapshots" | "history-changes" | "irregular-periods" | "exposure-earning" | "typed-populations" | "descriptive-statistics" | "derived-analysis-measures" | "reserving-triangle-adapter" | "bounded-execution" | "shared-financial-terms" | "recipes" | "scenarios")[]; parameters: Record; }>, { id: string; version: string; analysisDefinitionId: string; recipeContractVersion: "actuarial-recipe/1"; steps: ({ kind: "prepare-history"; historyContractId: string; } | { kind: "assign-periods"; analysisDefinitionId: string; } | { kind: "earn-exposure"; exposureMeasureIds: string[]; } | { kind: "apply-financial-terms"; termIds: string[]; } | { kind: "apply-financial-pipeline"; amountMeasureId: string; stageIds: string[]; } | { kind: "calculate"; measureIds: string[]; } | { kind: "classify"; classificationIds: string[]; } | { kind: "adapt-diagnostics"; diagnosticDefinitionId: string; })[]; requiredCapabilities: ("history-snapshots" | "history-changes" | "irregular-periods" | "exposure-earning" | "typed-populations" | "descriptive-statistics" | "derived-analysis-measures" | "reserving-triangle-adapter" | "bounded-execution" | "shared-financial-terms" | "recipes" | "scenarios")[]; parameters: Record; }, { id: string; version: string; analysisDefinitionId: string; recipeContractVersion: "actuarial-recipe/1"; steps: ({ kind: "prepare-history"; historyContractId: string; } | { kind: "assign-periods"; analysisDefinitionId: string; } | { kind: "earn-exposure"; exposureMeasureIds: string[]; } | { kind: "apply-financial-terms"; termIds: string[]; } | { kind: "apply-financial-pipeline"; amountMeasureId: string; stageIds: string[]; } | { kind: "calculate"; measureIds: string[]; } | { kind: "classify"; classificationIds: string[]; } | { kind: "adapt-diagnostics"; diagnosticDefinitionId: string; })[]; requiredCapabilities: ("history-snapshots" | "history-changes" | "irregular-periods" | "exposure-earning" | "typed-populations" | "descriptive-statistics" | "derived-analysis-measures" | "reserving-triangle-adapter" | "bounded-execution" | "shared-financial-terms" | "recipes" | "scenarios")[]; parameters: Record; }>; exposureObservations: z.ZodOptional, "many">>; exposureTargets: z.ZodOptional, "many">>; exposureRevisionSelection: z.ZodOptional>; evaluationDate: z.ZodOptional>; }, "strict", z.ZodTypeAny, { definition: { id: string; dimensions: { type: "string" | "number" | "boolean" | "date" | "entity-reference"; id: string; multiple: boolean; }[]; measures: { id: string; unit: string; developmentSemantics: "cumulative" | "incremental" | "point-in-time"; statistic: { measureId: string; kind: "sum"; } | { kind: "ratio"; numeratorMeasureId: string; denominatorMeasureId: string; scale: number; denominatorRule: "positive"; } | { kind: "distinct-count"; entity: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; } | { measureId: string; kind: "weighted-mean"; weightMeasureId: string; } | { measureId: string; kind: "minimum" | "maximum"; } | { measureId: string; kind: "quantile"; probability: number; method: "hf-type-7"; } | { kind: "duration"; start: "accident-date" | "report-date"; end: "report-date" | "closed-date" | "evaluation-date"; unit: "days"; population: "all-with-observed-endpoint" | "closed-only"; } | { kind: "survival-quantile"; probability: number; method: "kaplan-meier-product-limit"; start: "accident-date" | "report-date"; unit: "days"; event: "closed-date"; censor: "evaluation-date"; }; populationScopeId: string; unitFactors?: Record | undefined; condition?: import("@actuarial-ts/core").AnalysisPredicate | undefined; }[]; analysisContractVersion: "actuarial-analysis/1"; version: string; scopes: { exposure: { id: string; populationKeys: string[]; timeBasis: "point-in-time" | "interval" | "already-earned"; reportingFilterEffect: "none" | "matching-exposure-dimensions"; valuationSelection?: "exact" | "origin-static" | "latest-on-or-before" | undefined; }[]; financial: { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }; reporting: { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }; }; policySchedule: { id: string; startDate: string; endDate: string; revisionId: string; label: string; scope: Record; }[]; period: { originBasis: "policy" | "accident" | "report"; grouping: { kind: "calendar"; cadence: "month" | "quarter" | "year"; } | { kind: "fiscal"; cadence: "quarter" | "year"; startMonth: number; } | { kind: "policy-schedule"; periodIds: string[]; }; comparisonClock: "common-evaluation-date" | "since-period-start" | "since-period-end" | "matched-accident-cohorts"; ageConvention: "exact-days" | "calendar-months"; observationSelection: "exact" | "latest-on-or-before"; }; exposures: { id: string; unit: string; allocation: { kind: "exact-match"; } | { kind: "time-overlap"; } | { kind: "supplied-weights"; weightMeasureId: string; }; sourceMeaning: "point-in-time" | "already-earned" | "written-over-interval" | "flow-over-interval"; earning: { kind: "supplied"; } | { kind: "uniform-daily"; dayCount: "actual-days"; } | { kind: "weighted"; scheduleId: string; }; scopeId: string; }[]; financialTerms: ({ id: string; measureId: string; kind: "claim-layer" | "occurrence-layer"; attachment: number; limit: number | null; allocation: "proportional"; } | { id: string; measureId: string; kind: "policy-aggregate"; limit: number | null; allocation: "proportional" | "chronological"; deductible: number; })[]; derivedMeasures?: { id: string; developmentSemantics: "cumulative" | "incremental" | "point-in-time"; expression: import("@actuarial-ts/core").AnalysisMeasureExpression; }[] | undefined; financialAdjustments?: ({ id: string; kind: "scale"; purpose: "trend" | "index"; factor: number; } | { id: string; kind: "currency"; fromUnit: string; toUnit: string; rate: number; rateDate: string; } | { id: string; kind: "include-expense" | "exclude-expense"; expenseMeasureId: string; } | { id: string; kind: "net-recovery"; recoveryMeasureId: string; })[] | undefined; classifications?: import("@actuarial-ts/core").AnalysisClassificationDefinition[] | undefined; }; recipe: { id: string; version: string; analysisDefinitionId: string; recipeContractVersion: "actuarial-recipe/1"; steps: ({ kind: "prepare-history"; historyContractId: string; } | { kind: "assign-periods"; analysisDefinitionId: string; } | { kind: "earn-exposure"; exposureMeasureIds: string[]; } | { kind: "apply-financial-terms"; termIds: string[]; } | { kind: "apply-financial-pipeline"; amountMeasureId: string; stageIds: string[]; } | { kind: "calculate"; measureIds: string[]; } | { kind: "classify"; classificationIds: string[]; } | { kind: "adapt-diagnostics"; diagnosticDefinitionId: string; })[]; requiredCapabilities: ("history-snapshots" | "history-changes" | "irregular-periods" | "exposure-earning" | "typed-populations" | "descriptive-statistics" | "derived-analysis-measures" | "reserving-triangle-adapter" | "bounded-execution" | "shared-financial-terms" | "recipes" | "scenarios")[]; parameters: Record; }; history: { revisionView: { kind: "as-known"; knowledgeCutoff: string; } | { kind: "restated"; }; revisionPrecedence: "sequence" | "corrected-at"; sources: { artifactId: string; namespace: string; mappingVersion: string; additionalArtifacts?: { artifactId: string; mappingVersion: string; }[] | undefined; }[]; historyContractVersion: "actuarial-history/1"; datasetId: string; historyMode: "full-snapshots" | "changes" | "mixed"; missingSnapshotRecord: "unknown" | "carried-forward"; records: { revision: { id: string; action: "upsert" | "delete"; sequence?: number | undefined; correctedAt?: string | undefined; }; source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; recordId: string; sourceNamespace: string; claimId: string; grain: "claim-snapshot" | "claim-component-snapshot" | "transaction"; measures: Record; completeness: "complete-snapshot" | "partial-snapshot" | "change-only"; status?: string | undefined; evaluationDate?: string | undefined; dimensions?: Record | undefined; effectiveDate?: string | undefined; componentId?: string | undefined; accidentDate?: string | undefined; reportDate?: string | undefined; relationships?: { claimantIds?: string[] | undefined; occurrenceId?: string | undefined; policyIds?: string[] | undefined; coverageIds?: string[] | undefined; } | undefined; }[]; evaluationDates?: string[] | undefined; openingBalances?: { source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; sourceNamespace: string; claimId: string; measures: Record; asOfDate: string; }[] | undefined; }; evaluationDate?: string | undefined; exposureObservations?: import("@actuarial-ts/core").CustomizationExposureObservation[] | undefined; exposureTargets?: import("@actuarial-ts/core").ExposureAllocationTarget[] | undefined; exposureRevisionSelection?: import("@actuarial-ts/core").ExposureRevisionSelection | undefined; }, { definition: { id: string; dimensions: { type: "string" | "number" | "boolean" | "date" | "entity-reference"; id: string; multiple: boolean; }[]; measures: { id: string; unit: string; developmentSemantics: "cumulative" | "incremental" | "point-in-time"; statistic: { measureId: string; kind: "sum"; } | { kind: "ratio"; numeratorMeasureId: string; denominatorMeasureId: string; scale: number; denominatorRule: "positive"; } | { kind: "distinct-count"; entity: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; } | { measureId: string; kind: "weighted-mean"; weightMeasureId: string; } | { measureId: string; kind: "minimum" | "maximum"; } | { measureId: string; kind: "quantile"; probability: number; method: "hf-type-7"; } | { kind: "duration"; start: "accident-date" | "report-date"; end: "report-date" | "closed-date" | "evaluation-date"; unit: "days"; population: "all-with-observed-endpoint" | "closed-only"; } | { kind: "survival-quantile"; probability: number; method: "kaplan-meier-product-limit"; start: "accident-date" | "report-date"; unit: "days"; event: "closed-date"; censor: "evaluation-date"; }; populationScopeId: string; unitFactors?: Record | undefined; condition?: import("@actuarial-ts/core").AnalysisPredicate | undefined; }[]; analysisContractVersion: "actuarial-analysis/1"; version: string; scopes: { exposure: { id: string; populationKeys: string[]; timeBasis: "point-in-time" | "interval" | "already-earned"; reportingFilterEffect: "none" | "matching-exposure-dimensions"; valuationSelection?: "exact" | "origin-static" | "latest-on-or-before" | undefined; }[]; financial: { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }; reporting: { id: string; subject: "claim" | "claimant" | "occurrence" | "policy" | "coverage"; predicate: import("@actuarial-ts/core").AnalysisPredicate; classification: { kind: "as-observed"; } | { kind: "latest-as-of-analysis"; asOfDate: string; } | { kind: "frozen-cohort"; asOfDate: string; }; }; }; policySchedule: { id: string; startDate: string; endDate: string; revisionId: string; label: string; scope: Record; }[]; period: { originBasis: "policy" | "accident" | "report"; grouping: { kind: "calendar"; cadence: "month" | "quarter" | "year"; } | { kind: "fiscal"; cadence: "quarter" | "year"; startMonth: number; } | { kind: "policy-schedule"; periodIds: string[]; }; comparisonClock: "common-evaluation-date" | "since-period-start" | "since-period-end" | "matched-accident-cohorts"; ageConvention: "exact-days" | "calendar-months"; observationSelection: "exact" | "latest-on-or-before"; }; exposures: { id: string; unit: string; allocation: { kind: "exact-match"; } | { kind: "time-overlap"; } | { kind: "supplied-weights"; weightMeasureId: string; }; sourceMeaning: "point-in-time" | "already-earned" | "written-over-interval" | "flow-over-interval"; earning: { kind: "supplied"; } | { kind: "uniform-daily"; dayCount: "actual-days"; } | { kind: "weighted"; scheduleId: string; }; scopeId: string; }[]; financialTerms: ({ id: string; measureId: string; kind: "claim-layer" | "occurrence-layer"; attachment: number; limit: number | null; allocation: "proportional"; } | { id: string; measureId: string; kind: "policy-aggregate"; limit: number | null; allocation: "proportional" | "chronological"; deductible: number; })[]; derivedMeasures?: { id: string; developmentSemantics: "cumulative" | "incremental" | "point-in-time"; expression: import("@actuarial-ts/core").AnalysisMeasureExpression; }[] | undefined; financialAdjustments?: ({ id: string; kind: "scale"; purpose: "trend" | "index"; factor: number; } | { id: string; kind: "currency"; fromUnit: string; toUnit: string; rate: number; rateDate: string; } | { id: string; kind: "include-expense" | "exclude-expense"; expenseMeasureId: string; } | { id: string; kind: "net-recovery"; recoveryMeasureId: string; })[] | undefined; classifications?: import("@actuarial-ts/core").AnalysisClassificationDefinition[] | undefined; }; recipe: { id: string; version: string; analysisDefinitionId: string; recipeContractVersion: "actuarial-recipe/1"; steps: ({ kind: "prepare-history"; historyContractId: string; } | { kind: "assign-periods"; analysisDefinitionId: string; } | { kind: "earn-exposure"; exposureMeasureIds: string[]; } | { kind: "apply-financial-terms"; termIds: string[]; } | { kind: "apply-financial-pipeline"; amountMeasureId: string; stageIds: string[]; } | { kind: "calculate"; measureIds: string[]; } | { kind: "classify"; classificationIds: string[]; } | { kind: "adapt-diagnostics"; diagnosticDefinitionId: string; })[]; requiredCapabilities: ("history-snapshots" | "history-changes" | "irregular-periods" | "exposure-earning" | "typed-populations" | "descriptive-statistics" | "derived-analysis-measures" | "reserving-triangle-adapter" | "bounded-execution" | "shared-financial-terms" | "recipes" | "scenarios")[]; parameters: Record; }; history: { revisionView: { kind: "as-known"; knowledgeCutoff: string; } | { kind: "restated"; }; revisionPrecedence: "sequence" | "corrected-at"; sources: { artifactId: string; namespace: string; mappingVersion: string; additionalArtifacts?: { artifactId: string; mappingVersion: string; }[] | undefined; }[]; historyContractVersion: "actuarial-history/1"; datasetId: string; historyMode: "full-snapshots" | "changes" | "mixed"; missingSnapshotRecord: "unknown" | "carried-forward"; records: { revision: { id: string; action: "upsert" | "delete"; sequence?: number | undefined; correctedAt?: string | undefined; }; source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; recordId: string; sourceNamespace: string; claimId: string; grain: "claim-snapshot" | "claim-component-snapshot" | "transaction"; measures: Record; completeness: "complete-snapshot" | "partial-snapshot" | "change-only"; status?: string | undefined; evaluationDate?: string | undefined; dimensions?: Record | undefined; effectiveDate?: string | undefined; componentId?: string | undefined; accidentDate?: string | undefined; reportDate?: string | undefined; relationships?: { claimantIds?: string[] | undefined; occurrenceId?: string | undefined; policyIds?: string[] | undefined; coverageIds?: string[] | undefined; } | undefined; }[]; evaluationDates?: string[] | undefined; openingBalances?: { source: { artifactId: string; sourceFile?: string | undefined; sourceSheet?: string | undefined; sourceRow?: number | undefined; }; sourceNamespace: string; claimId: string; measures: Record; asOfDate: string; }[] | undefined; }; evaluationDate?: string | undefined; exposureObservations?: import("@actuarial-ts/core").CustomizationExposureObservation[] | undefined; exposureTargets?: import("@actuarial-ts/core").ExposureAllocationTarget[] | undefined; exposureRevisionSelection?: import("@actuarial-ts/core").ExposureRevisionSelection | undefined; }>; export declare const reviewPreparationRequestSchema: z.ZodType; export declare const reviewRecipePreparationSchema: z.ZodType; export declare function parseAnalysisRecipeRequest(input: unknown): Parameters[0]; export declare function runAnalysisRecipeFromInput(input: unknown): ReturnType; /** Internal schema builder shared with the graph's typed preparation links. */ export declare function recipeProjectionSchemaForPreparation(preparation: T): z.ZodObject<{ id: z.ZodEffects; version: z.ZodEffects; preparations: z.ZodArray; }, "strict", z.ZodTypeAny, z.objectUtil.addQuestionMarks; }>, any> extends infer T_1 ? { [k in keyof T_1]: T_1[k]; } : never, z.baseObjectInputType<{ preparation: T; knownDate: z.ZodEffects; }> extends infer T_2 ? { [k_1 in keyof T_2]: T_2[k_1]; } : never>, "many">; measureId: z.ZodEffects; kind: z.ZodEnum<["paid", "incurred"]>; origins: z.ZodArray; startDate: z.ZodEffects; endDate: z.ZodEffects; }, "strict", z.ZodTypeAny, { id: string; startDate: string; endDate: string; }, { id: string; startDate: string; endDate: string; }>, "many">; ages: z.ZodArray; ageConvention: z.ZodEnum<["calendar-period-end", "elapsed-months"]>; coverage: z.ZodEnum<["exact-universe", "declared-subset"]>; valuationDate: z.ZodEffects; knowledgeDate: z.ZodEffects; accountingDate: z.ZodNullable>; meaning: z.ZodObject<{ quantity: z.ZodObject<{ role: z.ZodEffects; unitFactors: z.ZodEffects, z.ZodNumber>, { [k: string]: number; }, Record>; scale: z.ZodNumber; development: z.ZodEnum<["cumulative", "incremental", "point-in-time", "unknown", "ultimate"]>; aggregation: z.ZodEnum<["sum", "ratio-of-sums", "none"]>; denominator: z.ZodNullable; id: z.ZodEffects; version: z.ZodEffects; contentIdentity: z.ZodEffects; }, "strict", z.ZodTypeAny, { id: string; kind: "source" | "scope" | "period" | "amount-basis" | "exposure-basis" | "assumption" | "result" | "adjustment" | "context"; version: string; contentIdentity: string; }, { id: string; kind: "source" | "scope" | "period" | "amount-basis" | "exposure-basis" | "assumption" | "result" | "adjustment" | "context"; version: string; contentIdentity: string; }>>; }, "strict", z.ZodTypeAny, { scale: number; unitFactors: { [k: string]: number; }; denominator: { id: string; kind: "source" | "scope" | "period" | "amount-basis" | "exposure-basis" | "assumption" | "result" | "adjustment" | "context"; version: string; contentIdentity: string; } | null; development: "unknown" | "cumulative" | "incremental" | "point-in-time" | "ultimate"; role: string; aggregation: "sum" | "none" | "ratio-of-sums"; }, { scale: number; unitFactors: Record; denominator: { id: string; kind: "source" | "scope" | "period" | "amount-basis" | "exposure-basis" | "assumption" | "result" | "adjustment" | "context"; version: string; contentIdentity: string; } | null; development: "unknown" | "cumulative" | "incremental" | "point-in-time" | "ultimate"; role: string; aggregation: "sum" | "none" | "ratio-of-sums"; }>; financialBasis: z.ZodObject<{ reference: z.ZodObject<{ kind: z.ZodEnum<["source", "scope", "amount-basis", "exposure-basis", "period", "assumption", "result", "adjustment", "context"]>; id: z.ZodEffects; version: z.ZodEffects; contentIdentity: z.ZodEffects; }, "strict", z.ZodTypeAny, { id: string; kind: "source" | "scope" | "period" | "amount-basis" | "exposure-basis" | "assumption" | "result" | "adjustment" | "context"; version: string; contentIdentity: string; }, { id: string; kind: "source" | "scope" | "period" | "amount-basis" | "exposure-basis" | "assumption" | "result" | "adjustment" | "context"; version: string; contentIdentity: string; }>; content: z.ZodType; }, "strict", z.ZodTypeAny, { reference: { id: string; kind: "source" | "scope" | "period" | "amount-basis" | "exposure-basis" | "assumption" | "result" | "adjustment" | "context"; version: string; contentIdentity: string; }; content: import("@actuarial-ts/core").JsonValue; }, { reference: { id: string; kind: "source" | "scope" | "period" | "amount-basis" | "exposure-basis" | "assumption" | "result" | "adjustment" | "context"; version: string; contentIdentity: string; }; content: import("@actuarial-ts/core").JsonValue; }>; actorId: z.ZodEffects; knownDate: z.ZodEffects; rationale: z.ZodEffects; }, "strict", z.ZodTypeAny, { knownDate: string; quantity: { scale: number; unitFactors: { [k: string]: number; }; denominator: { id: string; kind: "source" | "scope" | "period" | "amount-basis" | "exposure-basis" | "assumption" | "result" | "adjustment" | "context"; version: string; contentIdentity: string; } | null; development: "unknown" | "cumulative" | "incremental" | "point-in-time" | "ultimate"; role: string; aggregation: "sum" | "none" | "ratio-of-sums"; }; financialBasis: { reference: { id: string; kind: "source" | "scope" | "period" | "amount-basis" | "exposure-basis" | "assumption" | "result" | "adjustment" | "context"; version: string; contentIdentity: string; }; content: import("@actuarial-ts/core").JsonValue; }; actorId: string; rationale: string; }, { knownDate: string; quantity: { scale: number; unitFactors: Record; denominator: { id: string; kind: "source" | "scope" | "period" | "amount-basis" | "exposure-basis" | "assumption" | "result" | "adjustment" | "context"; version: string; contentIdentity: string; } | null; development: "unknown" | "cumulative" | "incremental" | "point-in-time" | "ultimate"; role: string; aggregation: "sum" | "none" | "ratio-of-sums"; }; financialBasis: { reference: { id: string; kind: "source" | "scope" | "period" | "amount-basis" | "exposure-basis" | "assumption" | "result" | "adjustment" | "context"; version: string; contentIdentity: string; }; content: import("@actuarial-ts/core").JsonValue; }; actorId: string; rationale: string; }>; limits: z.ZodObject<{ maximumPreparations: z.ZodNumber; maximumOrigins: z.ZodNumber; maximumCells: z.ZodNumber; maximumInputCharacters: z.ZodNumber; }, "strict", z.ZodTypeAny, { maximumOrigins: number; maximumCells: number; maximumInputCharacters: number; maximumPreparations: number; }, { maximumOrigins: number; maximumCells: number; maximumInputCharacters: number; maximumPreparations: number; }>; }, "strict", z.ZodTypeAny, { id: string; measureId: string; kind: "paid" | "incurred"; coverage: "exact-universe" | "declared-subset"; version: string; ageConvention: "calendar-period-end" | "elapsed-months"; ages: number[]; origins: { id: string; startDate: string; endDate: string; }[]; limits: { maximumOrigins: number; maximumCells: number; maximumInputCharacters: number; maximumPreparations: number; }; valuationDate: string; knowledgeDate: string; accountingDate: string | null; meaning: { knownDate: string; quantity: { scale: number; unitFactors: { [k: string]: number; }; denominator: { id: string; kind: "source" | "scope" | "period" | "amount-basis" | "exposure-basis" | "assumption" | "result" | "adjustment" | "context"; version: string; contentIdentity: string; } | null; development: "unknown" | "cumulative" | "incremental" | "point-in-time" | "ultimate"; role: string; aggregation: "sum" | "none" | "ratio-of-sums"; }; financialBasis: { reference: { id: string; kind: "source" | "scope" | "period" | "amount-basis" | "exposure-basis" | "assumption" | "result" | "adjustment" | "context"; version: string; contentIdentity: string; }; content: import("@actuarial-ts/core").JsonValue; }; actorId: string; rationale: string; }; preparations: (z.objectUtil.addQuestionMarks; }>, any> extends infer T_3 ? { [k in keyof T_3]: T_3[k]; } : never)[]; }, { id: string; measureId: string; kind: "paid" | "incurred"; coverage: "exact-universe" | "declared-subset"; version: string; ageConvention: "calendar-period-end" | "elapsed-months"; ages: number[]; origins: { id: string; startDate: string; endDate: string; }[]; limits: { maximumOrigins: number; maximumCells: number; maximumInputCharacters: number; maximumPreparations: number; }; valuationDate: string; knowledgeDate: string; accountingDate: string | null; meaning: { knownDate: string; quantity: { scale: number; unitFactors: Record; denominator: { id: string; kind: "source" | "scope" | "period" | "amount-basis" | "exposure-basis" | "assumption" | "result" | "adjustment" | "context"; version: string; contentIdentity: string; } | null; development: "unknown" | "cumulative" | "incremental" | "point-in-time" | "ultimate"; role: string; aggregation: "sum" | "none" | "ratio-of-sums"; }; financialBasis: { reference: { id: string; kind: "source" | "scope" | "period" | "amount-basis" | "exposure-basis" | "assumption" | "result" | "adjustment" | "context"; version: string; contentIdentity: string; }; content: import("@actuarial-ts/core").JsonValue; }; actorId: string; rationale: string; }; preparations: (z.baseObjectInputType<{ preparation: T; knownDate: z.ZodEffects; }> extends infer T_4 ? { [k_1 in keyof T_4]: T_4[k_1]; } : never)[]; }>; export declare const recipeDevelopmentProjectionRequestSchema: z.ZodType; export declare function parseReviewRecipePreparation(input: unknown): ReviewRecipePreparation; export declare const reviewPreparationExecutionRequestSchema: z.ZodLazy; version: z.ZodEffects; request: z.ZodType<{ readonly history: import("@actuarial-ts/core").HistoricalDatasetInput; readonly definition: import("@actuarial-ts/core").AnalysisDefinition; readonly recipe: import("@actuarial-ts/core").AnalysisRecipe; readonly exposureObservations?: readonly import("@actuarial-ts/core").CustomizationExposureObservation[]; readonly exposureTargets?: readonly import("@actuarial-ts/core").ExposureAllocationTarget[]; readonly exposureRevisionSelection?: import("@actuarial-ts/core").ExposureRevisionSelection; readonly evaluationDate?: string; }, z.ZodTypeDef, { readonly history: import("@actuarial-ts/core").HistoricalDatasetInput; readonly definition: import("@actuarial-ts/core").AnalysisDefinition; readonly recipe: import("@actuarial-ts/core").AnalysisRecipe; readonly exposureObservations?: readonly import("@actuarial-ts/core").CustomizationExposureObservation[]; readonly exposureTargets?: readonly import("@actuarial-ts/core").ExposureAllocationTarget[]; readonly exposureRevisionSelection?: import("@actuarial-ts/core").ExposureRevisionSelection; readonly evaluationDate?: string; }>; }, "strict", z.ZodTypeAny, { id: string; version: string; request: { readonly history: import("@actuarial-ts/core").HistoricalDatasetInput; readonly definition: import("@actuarial-ts/core").AnalysisDefinition; readonly recipe: import("@actuarial-ts/core").AnalysisRecipe; readonly exposureObservations?: readonly import("@actuarial-ts/core").CustomizationExposureObservation[]; readonly exposureTargets?: readonly import("@actuarial-ts/core").ExposureAllocationTarget[]; readonly exposureRevisionSelection?: import("@actuarial-ts/core").ExposureRevisionSelection; readonly evaluationDate?: string; }; }, { id: string; version: string; request: { readonly history: import("@actuarial-ts/core").HistoricalDatasetInput; readonly definition: import("@actuarial-ts/core").AnalysisDefinition; readonly recipe: import("@actuarial-ts/core").AnalysisRecipe; readonly exposureObservations?: readonly import("@actuarial-ts/core").CustomizationExposureObservation[]; readonly exposureTargets?: readonly import("@actuarial-ts/core").ExposureAllocationTarget[]; readonly exposureRevisionSelection?: import("@actuarial-ts/core").ExposureRevisionSelection; readonly evaluationDate?: string; }; }>>; export declare function parseReviewPreparationRequest(input: unknown): Parameters[0]; export declare function parseRecipeDevelopmentProjectionRequest(input: unknown): RecipeDevelopmentProjectionRequest; export declare function runReviewPreparationFromInput(input: unknown): ReviewRecipePreparation; export declare function projectRecipeDevelopmentFromInput(input: unknown): RecipeDevelopmentProjection; //# sourceMappingURL=recipeDevelopmentContracts.d.ts.map