import { type InvokeResult } from "https://deno.land/x/blocks@1.107.0/utils/invoke.types.ts";
Type Parameters
TPayload extends Invoke<TManifest, any, any> | InvokeAsPayload<TManifest, any, any> | Record<string, Invoke<TManifest, any, any> | InvokeAsPayload<TManifest, any, any>>
optional
TManifest extends AppManifest = AppManifestdefinition: 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