/** * Session metadata passed from the Mastra server to the LiveKit agent worker through * LiveKit's job dispatch metadata (a plain string, so this is JSON-serialized). */ export interface LiveKitSessionMetadata { /** Mastra agent to run, by registered key or agent id. */ agentId?: string; /** Memory thread id. Defaults to the LiveKit room name when omitted. */ threadId?: string; /** Memory resource id (typically the end user id). */ resourceId?: string; /** Plain-object entries restored into a RequestContext for agent execution. */ requestContext?: Record; } export declare function parseSessionMetadata(raw: string | undefined | null): LiveKitSessionMetadata; export declare function serializeSessionMetadata(metadata: LiveKitSessionMetadata): string; //# sourceMappingURL=metadata.d.ts.map