import type { PrismaClient } from '../../../prisma';
import type { TrpcSessionUser } from '../../../trpc/server/trpc';
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;
    };
} & {
    position: number;
    id: string;
    name: string;
    disabled: boolean;
    description: string | null;
    routes: import('../../../prisma-client').Prisma.JsonValue;
    fields: import('../../../prisma-client').Prisma.JsonValue;
    userId: number;
    teamId: number | null;
    createdAt: Date;
    updatedAt: Date;
    settings: import('../../../prisma-client').Prisma.JsonValue;
}> | null>;
export default formQueryHandler;
//# sourceMappingURL=formQuery.handler.d.ts.map