import type { Session } from '../types/session.js'; import type { SessionStore } from '../session/SessionStore.js'; import type { ConversationOutcome, ConversationOutcomeMarkedBy, ConversationOutcomeRecord } from '../outcomes/types.js'; import type { StreamPart } from '../types/stream.js'; import type { FlowGateVerdict } from '../flows/definition/types.js'; export declare function isTerminalOutcome(outcome: ConversationOutcome): boolean; export declare function markSessionOutcome(sessionStore: SessionStore, session: Session, outcome: ConversationOutcome, opts?: { reason?: string; markedBy?: ConversationOutcomeMarkedBy; gates?: FlowGateVerdict[]; }, emit?: (part: StreamPart) => void): Promise;