import type { z } from "zod";
import type { PrismaClient } from '../../../prisma';
import type { App_RoutingForms_FormResponse } from '../../../prisma/client';
import type { TrpcSessionUser } from '../../../trpc/server/trpc';
import type { zodFieldView } from "../zod";
import type { TReportInputSchema } from "./report.schema";
interface ReportHandlerOptions {
    ctx: {
        prisma: PrismaClient;
        user: NonNullable<TrpcSessionUser>;
    };
    input: TReportInputSchema;
}
export declare const reportHandler: (options: ReportHandlerOptions) => Promise<{
    nextCursor: number | null;
    headers: string[];
    responses: string[][];
}>;
export default reportHandler;
export declare function buildResponsesForReporting({ responsesFromDb, fields, }: {
    responsesFromDb: App_RoutingForms_FormResponse["response"][];
    fields: Pick<z.infer<typeof zodFieldView>, "id" | "options" | "label" | "deleted">[];
}): {
    responses: string[][];
    headers: string[];
};
//# sourceMappingURL=report.handler.d.ts.map