import { type InvokeResult } from "https://deno.land/x/live@1.107.0/mod.web.ts";
definition: TPayload extends Invoke<TManifest, infer TFunc, any> | InvokeAsPayload<TManifest, infer TFunc, any> ? ReturnWith<ManifestInvocable<TManifest, TFunc>["return"], TPayload> : TPayload extends Record<string, any> ? [key in keyof TPayload]: TPayload[key] extends Invoke<TManifest, infer TFunc, any> | InvokeAsPayload<TManifest, infer TFunc, any> ? ReturnWith<ManifestInvocable<TManifest, TFunc>["return"], TPayload[key]> : unknown : unknown