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: {
                    id: number;
                    name: string;
                } | 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;
                updatedById: number | null;
            }, "routes" | "fields" | "createdAt" | "updatedAt" | "settings"> & {
                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: {
                    id: number;
                    name: string;
                } | null;
                _count: {
                    responses: number;
                };
                position: number;
                id: string;
                name: string;
                disabled: boolean;
                description: string | null;
                userId: number;
                teamId: number | null;
                createdAt: Date;
                updatedAt: Date;
                settings: import('../../../../prisma-client').Prisma.JsonValue;
                updatedById: number | null;
            };
            readOnly: boolean;
            hasError: boolean;
        })[];
        totalCount: number;
    };
}>;
//# sourceMappingURL=forms.d.ts.map