export declare const JOB_PIPELINE_REPROCESSING_MODES: readonly ["ttl", "skip", "failed-only", "all", "before-date", "after-date", "condition"]; export type JobPipelineReprocessingMode = (typeof JOB_PIPELINE_REPROCESSING_MODES)[number]; export declare const JOB_PIPELINE_CONTEXT_TARGETS: readonly ["entity", "event", "knowledge"]; export type JobPipelineContextTarget = (typeof JOB_PIPELINE_CONTEXT_TARGETS)[number]; export declare const JOB_PIPELINE_TTL_UNITS: readonly ["hours", "days", "weeks"]; export type JobPipelineTtlUnit = (typeof JOB_PIPELINE_TTL_UNITS)[number]; export interface JobPipelineReprocessingDefaults { mode?: JobPipelineReprocessingMode; ttl?: { value: number; unit: JobPipelineTtlUnit; }; } /** Wire shape — accepts deprecated `jobType` alias for `jobTypeId`. */ export interface JobPipelineMetadata { jobTypeId?: string; /** @deprecated Use jobTypeId. */ jobType?: string; label?: string; upstream?: JobTypeRef[]; downstream?: JobTypeRef[]; context?: JobPipelineContextLink[]; reprocessing?: JobPipelineReprocessingDefaults; } /** Wire shape — accepts `relationshipKey` alias for `relationKey`. */ export interface JobTypeRef { jobTypeId: string; label?: string; entity?: string; relationshipKey?: string; relationKey?: string; } /** Wire shape — accepts `relationshipKey` alias for `relationKey`. */ export interface JobPipelineContextLink { relationKey?: string; relationshipKey?: string; targetEntity: string; target?: JobPipelineContextTarget; contentTypes?: string[]; limit?: number; } export interface ResolvedJobTypeRef { jobTypeId: string; label?: string; entity?: string; relationKey?: string; } export interface ResolvedJobPipelineContextLink { relationKey: string; targetEntity: string; target?: JobPipelineContextTarget; contentTypes?: string[]; limit?: number; } export interface GraphJobPipelineContract { graphId: string; jobTypeId: string; label?: string; upstream: ResolvedJobTypeRef[]; downstream: ResolvedJobTypeRef[]; context: ResolvedJobPipelineContextLink[]; reprocessing?: JobPipelineReprocessingDefaults; graphVersion?: string; } export interface ResolveGraphJobPipelineContractResult { contract: GraphJobPipelineContract | null; /** True when jobTypeId was read from deprecated jobType alias. */ usedDeprecatedJobTypeAlias: boolean; } /** Graph metadata fields for job pipeline identity and dependencies. */ export interface GraphJobPipelineMetadata { jobPipeline?: JobPipelineMetadata; } //# sourceMappingURL=job-pipeline.d.ts.map