export declare const forms: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
    input: {
        filters?: {
            teamIds?: number[] | undefined;
            userIds?: number[] | undefined;
            upIds?: string[] | undefined;
        } | undefined;
    } | null | undefined;
    output: {
        filtered: ({
            hasError: boolean;
            form: Omit<{
                team: {
                    name: string;
                    id: number;
                } | 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;
            }, "settings" | "fields" | "routes" | "createdAt" | "updatedAt"> & {
                routes: import("../../types/types").Routes;
                fields: import("../../types/types").Fields;
                settings: import("zod").TypeOf<typeof import('../../../../prisma/zod-utils').RoutingFormSettings>;
                createdAt: string;
                updatedAt: string;
                connectedForms: {
                    name: string;
                    description: string | null;
                    id: string;
                }[];
                routers: {
                    name: string;
                    description: string | null;
                    id: string;
                }[];
                teamMembers: import("../../types/types").SerializableFormTeamMembers[];
            };
            readOnly: boolean;
        } | {
            form: {
                routes: import("zod").TypeOf<typeof import("../../zod").zodRoutes>;
                fields: import("zod").TypeOf<typeof import("../../zod").zodFields>;
                team: {
                    name: string;
                    id: number;
                } | null;
                _count: {
                    responses: number;
                };
                settings: import('../../../../prisma-client').Prisma.JsonValue;
                name: string;
                id: string;
                description: string | null;
                disabled: boolean;
                userId: number;
                position: number;
                teamId: number | null;
                createdAt: Date;
                updatedAt: Date;
                updatedById: number | null;
            };
            readOnly: boolean;
            hasError: boolean;
        })[];
        totalCount: number;
    };
}>;
//# sourceMappingURL=forms.d.ts.map