import type { ChatEnvelope } from './hub/types/chat-envelope.js';
import { type JsonObject } from './hub/types/json.js';
export declare function ensureProtocolState(metadata: ChatEnvelope['metadata'], protocol: string): JsonObject;
export declare function getProtocolState(metadata: ChatEnvelope['metadata'] | undefined, protocol: string): JsonObject | undefined;
