/** * Minimal interface for activity input (compatible with Temporal's ActivityInput) */ export interface ActivityInput { activityType: string; args: unknown[]; headers: Record; options: Record; seq: number; } /** * Minimal interface for child workflow input (compatible with Temporal's StartChildWorkflowExecutionInput) */ export interface StartChildWorkflowExecutionInput { workflowType: string; args: unknown[]; headers: Record; options: Record; seq: number; } /** * Next function type for interceptor chain */ export type Next = (input: T) => Promise; /** * Graph interceptor interface - subset of WorkflowOutboundCallsInterceptor */ export interface GraphInterceptor { scheduleActivity(input: ActivityInput, next: Next): Promise; startChildWorkflowExecution(input: StartChildWorkflowExecutionInput, next: Next): Promise; } /** * Creates a workflow outbound interceptor that captures activity and * child workflow calls for graph building. */ export declare function createGraphInterceptor(): GraphInterceptor; //# sourceMappingURL=graphInterceptor.d.ts.map