import type { AdapterRef, AgentProfileSelection, EdgeAdapterDefinition, JsonSchema, JsonWorkflowPort, PromptBuilderRef, RegistryRefId, SelectionPolicy, TextWorkflowPort, WorkflowPort } from "../types/index.js"; /** * Create a text workflow port. * * Text ports carry plain strings across workflow, node, and adapter boundaries. */ export declare function text(description?: string): TextWorkflowPort; /** * Create a JSON workflow port backed by a V1 JSON Schema subset contract. * * The schema is intentionally preserved as part of the workflow IR so validators, * compilers, runtime checks, and inspection surfaces all see the same contract. */ export declare function json(schema: JsonSchema, description?: string): JsonWorkflowPort; export declare function isTextPort(port: WorkflowPort): port is TextWorkflowPort; export declare function isJsonPort(port: WorkflowPort): port is JsonWorkflowPort; /** * Reference a registered deterministic TypeScript adapter by id. * * Adapter refs are stored in workflow IR for both edge adapters and visible adapter nodes; * the Workflow Registry owns the executable TypeScript handler behind the id. */ export declare function adapterRef(id: RegistryRefId): AdapterRef; export declare function isAdapterRef(value: unknown): value is AdapterRef; export declare function adapterRefId(ref: AdapterRef): RegistryRefId; export declare function edgeAdapter(transform: AdapterRef, output: WorkflowPort): EdgeAdapterDefinition; /** * Reference a registered TypeScript prompt builder by id. * * Prompt builder refs are stored in workflow IR; the Workflow Registry owns * the executable handler that turns workflow input/state/edge data into the * final prompt text sent to a Pibo Runtime-backed agent node. */ export declare function promptBuilderRef(id: RegistryRefId): PromptBuilderRef; export declare function isPromptBuilderRef(value: unknown): value is Exclude; export declare function promptBuilderRefId(ref: PromptBuilderRef): RegistryRefId; /** * Select a fixed Agent Designer profile for a Pibo Runtime-backed agent node. * * V1 intentionally supports only fixed profile selection so workflow runs are * predictable and can record the exact profile requested by each agent node. */ export declare function fixedProfile(id: RegistryRefId): AgentProfileSelection; export declare function inheritSelection(): SelectionPolicy; export declare function onlySelection(ids: RegistryRefId[]): SelectionPolicy; export declare function excludeSelection(ids: RegistryRefId[]): SelectionPolicy; export declare function extendSelection(ids: RegistryRefId[]): SelectionPolicy; //# sourceMappingURL=index.d.ts.map