import { Token, Activity, InvokeResponse } from '@microsoft/spark.api';
import { Logger } from '@microsoft/spark.common/logging';

interface RouteContext {
    readonly port: number;
    readonly log: Logger;
    readonly process: (token: Token, activity: Activity) => Promise<InvokeResponse>;
}

export type { RouteContext };
