import type { TriggerRequest, TriggerResponse } from '../services/trigger-types.js';
import type { TriggerInput, TriggerResult } from './trigger-run.js';
export interface EnvelopeWorkflowDeps {
    larkAppId: string;
    /** The daemon-wired triggerWorkflowRun closure (all heavy deps already bound). */
    runWorkflow: (input: TriggerInput) => Promise<TriggerResult>;
    /** Test seam. */
    makeTriggerId?: () => string;
}
/** The well-known param name a webhook-triggerable workflow must declare (type string). */
export declare const EVENT_PARAM_NAME = "event";
export declare function triggerWorkflowFromEnvelope(req: TriggerRequest, deps: EnvelopeWorkflowDeps): Promise<TriggerResponse>;
//# sourceMappingURL=trigger-from-envelope.d.ts.map