// Compiled against declarations freshly read from core by contracts.test.ts. // These aliases are test-only paths; the shipping package imports no core code. import type * as Core from "core-workflow"; import type { Project, Activity } from "core-records"; import type { CoreOperation } from "core-operations"; import type * as Stable from "../src/index.ts"; type Assert = T; type Same = [A] extends [B] ? [B] extends [A] ? true : false : false; type ExpectedReview = Omit & { receipt: Core.ReceiptSummary | null; usageAtReview: Core.UsageSources; }; type ExpectedState = Omit & { reviews: ExpectedReview[] }; type RequestFor = Omit, "kind">; export type CoreCompatibility = [ Assert>, Assert>, Assert>, Assert>, Assert>, Assert>, Assert>, Assert>, Assert>, Assert>, Assert>, Assert>, Assert>, Assert>, Assert>, Assert>, Assert>, Assert>>, Assert | null>>, Assert>, Assert>>, Assert>>, Assert>>, Assert>>, Assert, keyof Stable.ContributionContract>>, Assert, never>>, ]; // v1 cannot accidentally enter a typed v0 adapter. // @ts-expect-error v1 shapes are deliberately undefined. export type NoV1Shape = Stable.ContributionRequest<"start_work">; // @ts-expect-error execution generation stays private to core. export type NoGeneration = Stable.Review["receiptGeneration"]; // @ts-expect-error the join grant is never a public response field. export type NoJoinKey = Stable.JoinResponse["token"];