import type { CanonConversation, CanonMessage, CanonRuntimeProvenance } from './types.js'; import type { CanonSelfContext } from './self-context.js'; export declare function buildRuntimeProvenance(input: { conversationId: string; conversationType?: CanonConversation['type'] | 'unknown' | string | null; memberCount?: number | null; senderId: string; senderName?: string | null; senderType?: CanonMessage['senderType'] | string | null; isOwner?: boolean | null; agentId?: string | null; mentions?: readonly string[] | null; mentionedAgent?: boolean | null; activeSelfContextId?: string | null; selfContexts?: readonly CanonSelfContext[] | null; }): CanonRuntimeProvenance; export declare function resolveRuntimeProvenance(input: { provenance?: CanonRuntimeProvenance | null; conversationId: string; conversationType?: CanonConversation['type'] | 'unknown' | string | null; memberCount?: number | null; senderId: string; senderName?: string | null; senderType?: CanonMessage['senderType'] | string | null; isOwner?: boolean | null; agentId?: string | null; mentions?: readonly string[] | null; mentionedAgent?: boolean | null; activeSelfContextId?: string | null; selfContexts?: readonly CanonSelfContext[] | null; }): CanonRuntimeProvenance;