import type { PrismaClient } from '../../../prisma';
import type { TrpcSessionUser } from '../../../trpc/server/types';
import type { TFormQueryInputSchema } from "./formQuery.schema";
interface FormsHandlerOptions {
    ctx: {
        prisma: PrismaClient;
        user: NonNullable<TrpcSessionUser>;
    };
    input: TFormQueryInputSchema;
}
export declare const formQueryHandler: ({ ctx, input }: FormsHandlerOptions) => Promise<import("../types/types").SerializableForm<{
    team: {
        name: string;
        slug: string | null;
    } | null;
    _count: {
        responses: number;
    };
} & {
    settings: import('../../../prisma-client').Prisma.JsonValue;
    name: string;
    id: string;
    description: string | null;
    disabled: boolean;
    userId: number;
    fields: import('../../../prisma-client').Prisma.JsonValue;
    routes: import('../../../prisma-client').Prisma.JsonValue;
    position: number;
    teamId: number | null;
    createdAt: Date;
    updatedAt: Date;
    updatedById: number | null;
}> | null>;
export default formQueryHandler;
//# sourceMappingURL=formQuery.handler.d.ts.map