import { NextResponse } from 'next/server';
export declare const dynamic = "force-dynamic";
/**
 * GET /api/sessions?repositoryPath=<path>&limit=<n>
 *
 * Returns agent sessions from all supported providers (Claude Code, Cursor)
 * filtered by repository path, merged and sorted by recency.
 */
export declare function GET(request: Request): Promise<NextResponse<{
    error: string;
}> | NextResponse<{
    sessions: {
        id: string;
        agentType: string;
        preview: string | null;
        messageCount: number;
        firstMessageAt: string | null;
        lastMessageAt: string | null;
        createdAt: string | null;
        projectPath: string;
        filePath: string;
    }[];
}>>;
//# sourceMappingURL=route.d.ts.map