/** * Shared role adapter engine for worker implementations. * * This module is transport-agnostic so both TUI and non-TUI workers can reuse * the same role-intent planning behavior. */ export type AdapterDomain = "venture" | "ux" | "engineering" | "mixed" | "research"; export interface ToolIntent { tool: string; args: Record; } export interface HandoffIntent { from: string; to: string; payload: Record; } export interface AdapterDecision { toolCalls: ToolIntent[]; handoffs: HandoffIntent[]; notes: string[]; domain: AdapterDomain; confidence: number; confidenceLevel: "low" | "medium" | "high"; } export declare function inferDomain(input: string): AdapterDomain; export declare function parseManualHandoffCommand(input: string): HandoffIntent | undefined; export declare function parseManualToolCommand(input: string): ToolIntent | undefined; export declare function planRoleExecution(roleValue: string, input: string): AdapterDecision; //# sourceMappingURL=role-adapters.d.ts.map