import type { SessionAuthContext } from "#channel/types.js"; import type { SessionStateMap, StepInput } from "#harness/types.js"; /** * Answering a request does not make the responder the turn's caller. When * `stepInput` only answers pending requests, returns it with each approval * answer carrying its responder, so approval policies and the approved call * see the responder while the turn keeps its caller. Returns `undefined` when * the input carries anything else, such as a message or a stale answer; its * sender becomes the caller. */ export declare function attributeAnswers(input: { readonly responder: SessionAuthContext | null; readonly state: SessionStateMap | undefined; readonly stepInput: StepInput | undefined; }): StepInput | undefined;