import { M as MachineContext, E as EventObject, P as ParameterizedObject, d as ActionArgs, e as ActionFunction, f as AnyEventObject } from '../index.d-B8KPCV0w.js'; import { V as VNodeAny } from '../vnode.d-CxP6Tzkc.js'; type StreamOptions = { href: string; connect: (options?: { event?: string; swap?: string; }) => Record; }; type RenderStream = StreamOptions & { service: (id?: string) => RenderStream; event: (type: string) => StreamOptions; }; declare function workflowStream(workflow: string): RenderStream; declare function streamElements(workflow: string, type?: string | undefined): StreamOptions; type Html = { (strings: TemplateStringsArray, ...values: any[]): R; }; type NodeExpression = (args: ActionArgs & { stream: RenderStream; html: Html; }, params: TParams) => VNodeAny; declare function render(nodeOrExpr: NodeExpression | VNodeAny): ActionFunction; declare function renderTo(type: string, nodeOrExpr: NodeExpression | VNodeAny): ActionFunction; export { type Html, type NodeExpression, type RenderStream, type StreamOptions, render, renderTo, streamElements, workflowStream };