import type { HostRunFn } from "./function-type.js"; import type { Context, HatchetClient } from "@hatchet-dev/typescript-sdk"; /** * Creates a HostRunFn that uses SDK Context for spawning child workflows. * Used within task execution contexts. */ export declare function createHostRunForContext(ctx: Context): HostRunFn; /** * Creates a HostRunFn that uses HatchetClient for external workflow triggering. * Used by HClient for triggering workflows from outside task contexts. */ export declare function createHostRunForAdmin(client: HatchetClient): HostRunFn;