import { type ManifestFunction } from "https://deno.land/x/blocks@0.36.7/utils/invoke.types.ts";
Type Parameters
TManifest extends AppManifest
definition: TFunc extends AvailableFunctions<TManifest> ? TManifest["functions"][TFunc] extends { default: infer TLoader; } ? TLoader extends () => PromiseOrValue<{ data: infer TReturn; }> ? { props: Props; return: TReturn; } : never : never : never
req: any,
ctx: any,
props: infer Props,