import type { MessageData } from '@strands-agents/sdk'; /** AgentCore conversational role. Mirrors the SDK `Role` enum values we emit. */ export type AgentCoreRole = 'USER' | 'ASSISTANT'; /** * Map a Strands message role to the AgentCore conversational role. * * Strands roles are `'user' | 'assistant'`; AgentCore's `Role` enum also has `OTHER`/`TOOL`, but the * conversation-ingestion path only ever produces user/assistant turns, so we map to that subset. */ export declare function mapRole(message: Pick): AgentCoreRole; export declare function extractText(message: Pick): string; /** * Whether a message is a user/assistant turn carrying extractable text. Tool-only or empty messages * yield no useful AgentCore event, so the sender skips them. */ export declare function isUserOrAssistantWithText(message: MessageData): boolean; //# sourceMappingURL=format.d.ts.map