/** * Message Offset Resolution * * Handles resolving message content when the AI specifies an offset * from the candidate message (e.g., for [AGREE] candidates pointing * to earlier messages, or clarifications in later messages). */ import type { CandidateMessage, ContextMessage } from '../types'; /** * Resolve the actual message info using offset. * When off=0, use the candidate directly. * When off=-1, use contextBefore[last] (immediately before candidate). * When off=+1, use contextAfter[0] (immediately after candidate). * * Throws an error if the offset is invalid (points outside context bounds). */ export declare function resolveMessageWithOffset(candidate: CandidateMessage, offset: number): ContextMessage; //# sourceMappingURL=message-offset.d.ts.map