import { PrismaService } from "../../../core/database/prisma/prisma.service";
import type { AgentTrajectoryEvent, AgentTrajectoryEventType } from '@prisma/client';
export interface AppendEventInput {
    organizationId: string;
    sessionId: string;
    turnId?: string;
    eventType: AgentTrajectoryEventType;
    payload: unknown;
}
export declare class TrajectoryService {
    private readonly prisma;
    constructor(prisma: PrismaService);
    append(input: AppendEventInput): Promise<AgentTrajectoryEvent>;
    listForSession(sessionId: string, organizationId: string): Promise<AgentTrajectoryEvent[]>;
    verifyChain(sessionId: string, organizationId: string): Promise<{
        ok: true;
    } | {
        ok: false;
        firstBrokenSeq: number;
        reason: string;
    }>;
}
