import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model lists_categories
 * This model contains row level security and requires additional setup for migrations. Visit https://pris.ly/d/row-level-security for more info.
 */
export type lists_categoriesModel = runtime.Types.Result.DefaultSelection<Prisma.$lists_categoriesPayload>;
export type AggregateLists_categories = {
    _count: Lists_categoriesCountAggregateOutputType | null;
    _avg: Lists_categoriesAvgAggregateOutputType | null;
    _sum: Lists_categoriesSumAggregateOutputType | null;
    _min: Lists_categoriesMinAggregateOutputType | null;
    _max: Lists_categoriesMaxAggregateOutputType | null;
};
export type Lists_categoriesAvgAggregateOutputType = {
    id: number | null;
    lists_id: number | null;
    categories_id: number | null;
};
export type Lists_categoriesSumAggregateOutputType = {
    id: number | null;
    lists_id: number | null;
    categories_id: number | null;
};
export type Lists_categoriesMinAggregateOutputType = {
    id: number | null;
    lists_id: number | null;
    categories_id: number | null;
};
export type Lists_categoriesMaxAggregateOutputType = {
    id: number | null;
    lists_id: number | null;
    categories_id: number | null;
};
export type Lists_categoriesCountAggregateOutputType = {
    id: number;
    lists_id: number;
    categories_id: number;
    _all: number;
};
export type Lists_categoriesAvgAggregateInputType = {
    id?: true;
    lists_id?: true;
    categories_id?: true;
};
export type Lists_categoriesSumAggregateInputType = {
    id?: true;
    lists_id?: true;
    categories_id?: true;
};
export type Lists_categoriesMinAggregateInputType = {
    id?: true;
    lists_id?: true;
    categories_id?: true;
};
export type Lists_categoriesMaxAggregateInputType = {
    id?: true;
    lists_id?: true;
    categories_id?: true;
};
export type Lists_categoriesCountAggregateInputType = {
    id?: true;
    lists_id?: true;
    categories_id?: true;
    _all?: true;
};
export type Lists_categoriesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which lists_categories to aggregate.
     */
    where?: Prisma.lists_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of lists_categories to fetch.
     */
    orderBy?: Prisma.lists_categoriesOrderByWithRelationInput | Prisma.lists_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.lists_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` lists_categories from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` lists_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned lists_categories
    **/
    _count?: true | Lists_categoriesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Lists_categoriesAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Lists_categoriesSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Lists_categoriesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Lists_categoriesMaxAggregateInputType;
};
export type GetLists_categoriesAggregateType<T extends Lists_categoriesAggregateArgs> = {
    [P in keyof T & keyof AggregateLists_categories]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateLists_categories[P]> : Prisma.GetScalarType<T[P], AggregateLists_categories[P]>;
};
export type lists_categoriesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.lists_categoriesWhereInput;
    orderBy?: Prisma.lists_categoriesOrderByWithAggregationInput | Prisma.lists_categoriesOrderByWithAggregationInput[];
    by: Prisma.Lists_categoriesScalarFieldEnum[] | Prisma.Lists_categoriesScalarFieldEnum;
    having?: Prisma.lists_categoriesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Lists_categoriesCountAggregateInputType | true;
    _avg?: Lists_categoriesAvgAggregateInputType;
    _sum?: Lists_categoriesSumAggregateInputType;
    _min?: Lists_categoriesMinAggregateInputType;
    _max?: Lists_categoriesMaxAggregateInputType;
};
export type Lists_categoriesGroupByOutputType = {
    id: number;
    lists_id: number | null;
    categories_id: number | null;
    _count: Lists_categoriesCountAggregateOutputType | null;
    _avg: Lists_categoriesAvgAggregateOutputType | null;
    _sum: Lists_categoriesSumAggregateOutputType | null;
    _min: Lists_categoriesMinAggregateOutputType | null;
    _max: Lists_categoriesMaxAggregateOutputType | null;
};
type GetLists_categoriesGroupByPayload<T extends lists_categoriesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Lists_categoriesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Lists_categoriesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Lists_categoriesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Lists_categoriesGroupByOutputType[P]>;
}>>;
export type lists_categoriesWhereInput = {
    AND?: Prisma.lists_categoriesWhereInput | Prisma.lists_categoriesWhereInput[];
    OR?: Prisma.lists_categoriesWhereInput[];
    NOT?: Prisma.lists_categoriesWhereInput | Prisma.lists_categoriesWhereInput[];
    id?: Prisma.IntFilter<"lists_categories"> | number;
    lists_id?: Prisma.IntNullableFilter<"lists_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"lists_categories"> | number | null;
    categories?: Prisma.XOR<Prisma.CategoriesNullableScalarRelationFilter, Prisma.categoriesWhereInput> | null;
    lists?: Prisma.XOR<Prisma.ListsNullableScalarRelationFilter, Prisma.listsWhereInput> | null;
};
export type lists_categoriesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories?: Prisma.categoriesOrderByWithRelationInput;
    lists?: Prisma.listsOrderByWithRelationInput;
};
export type lists_categoriesWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.lists_categoriesWhereInput | Prisma.lists_categoriesWhereInput[];
    OR?: Prisma.lists_categoriesWhereInput[];
    NOT?: Prisma.lists_categoriesWhereInput | Prisma.lists_categoriesWhereInput[];
    lists_id?: Prisma.IntNullableFilter<"lists_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"lists_categories"> | number | null;
    categories?: Prisma.XOR<Prisma.CategoriesNullableScalarRelationFilter, Prisma.categoriesWhereInput> | null;
    lists?: Prisma.XOR<Prisma.ListsNullableScalarRelationFilter, Prisma.listsWhereInput> | null;
}, "id">;
export type lists_categoriesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.lists_categoriesCountOrderByAggregateInput;
    _avg?: Prisma.lists_categoriesAvgOrderByAggregateInput;
    _max?: Prisma.lists_categoriesMaxOrderByAggregateInput;
    _min?: Prisma.lists_categoriesMinOrderByAggregateInput;
    _sum?: Prisma.lists_categoriesSumOrderByAggregateInput;
};
export type lists_categoriesScalarWhereWithAggregatesInput = {
    AND?: Prisma.lists_categoriesScalarWhereWithAggregatesInput | Prisma.lists_categoriesScalarWhereWithAggregatesInput[];
    OR?: Prisma.lists_categoriesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.lists_categoriesScalarWhereWithAggregatesInput | Prisma.lists_categoriesScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"lists_categories"> | number;
    lists_id?: Prisma.IntNullableWithAggregatesFilter<"lists_categories"> | number | null;
    categories_id?: Prisma.IntNullableWithAggregatesFilter<"lists_categories"> | number | null;
};
export type lists_categoriesCreateInput = {
    categories?: Prisma.categoriesCreateNestedOneWithoutLists_categoriesInput;
    lists?: Prisma.listsCreateNestedOneWithoutLists_categoriesInput;
};
export type lists_categoriesUncheckedCreateInput = {
    id?: number;
    lists_id?: number | null;
    categories_id?: number | null;
};
export type lists_categoriesUpdateInput = {
    categories?: Prisma.categoriesUpdateOneWithoutLists_categoriesNestedInput;
    lists?: Prisma.listsUpdateOneWithoutLists_categoriesNestedInput;
};
export type lists_categoriesUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    lists_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type lists_categoriesCreateManyInput = {
    id?: number;
    lists_id?: number | null;
    categories_id?: number | null;
};
export type lists_categoriesUpdateManyMutationInput = {};
export type lists_categoriesUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    lists_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Lists_categoriesListRelationFilter = {
    every?: Prisma.lists_categoriesWhereInput;
    some?: Prisma.lists_categoriesWhereInput;
    none?: Prisma.lists_categoriesWhereInput;
};
export type lists_categoriesOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type lists_categoriesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type lists_categoriesAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type lists_categoriesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type lists_categoriesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type lists_categoriesSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type lists_categoriesCreateNestedManyWithoutCategoriesInput = {
    create?: Prisma.XOR<Prisma.lists_categoriesCreateWithoutCategoriesInput, Prisma.lists_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.lists_categoriesCreateWithoutCategoriesInput[] | Prisma.lists_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.lists_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.lists_categoriesCreateOrConnectWithoutCategoriesInput[];
    createMany?: Prisma.lists_categoriesCreateManyCategoriesInputEnvelope;
    connect?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
};
export type lists_categoriesUncheckedCreateNestedManyWithoutCategoriesInput = {
    create?: Prisma.XOR<Prisma.lists_categoriesCreateWithoutCategoriesInput, Prisma.lists_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.lists_categoriesCreateWithoutCategoriesInput[] | Prisma.lists_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.lists_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.lists_categoriesCreateOrConnectWithoutCategoriesInput[];
    createMany?: Prisma.lists_categoriesCreateManyCategoriesInputEnvelope;
    connect?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
};
export type lists_categoriesUpdateManyWithoutCategoriesNestedInput = {
    create?: Prisma.XOR<Prisma.lists_categoriesCreateWithoutCategoriesInput, Prisma.lists_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.lists_categoriesCreateWithoutCategoriesInput[] | Prisma.lists_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.lists_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.lists_categoriesCreateOrConnectWithoutCategoriesInput[];
    upsert?: Prisma.lists_categoriesUpsertWithWhereUniqueWithoutCategoriesInput | Prisma.lists_categoriesUpsertWithWhereUniqueWithoutCategoriesInput[];
    createMany?: Prisma.lists_categoriesCreateManyCategoriesInputEnvelope;
    set?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
    disconnect?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
    delete?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
    connect?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
    update?: Prisma.lists_categoriesUpdateWithWhereUniqueWithoutCategoriesInput | Prisma.lists_categoriesUpdateWithWhereUniqueWithoutCategoriesInput[];
    updateMany?: Prisma.lists_categoriesUpdateManyWithWhereWithoutCategoriesInput | Prisma.lists_categoriesUpdateManyWithWhereWithoutCategoriesInput[];
    deleteMany?: Prisma.lists_categoriesScalarWhereInput | Prisma.lists_categoriesScalarWhereInput[];
};
export type lists_categoriesUncheckedUpdateManyWithoutCategoriesNestedInput = {
    create?: Prisma.XOR<Prisma.lists_categoriesCreateWithoutCategoriesInput, Prisma.lists_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.lists_categoriesCreateWithoutCategoriesInput[] | Prisma.lists_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.lists_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.lists_categoriesCreateOrConnectWithoutCategoriesInput[];
    upsert?: Prisma.lists_categoriesUpsertWithWhereUniqueWithoutCategoriesInput | Prisma.lists_categoriesUpsertWithWhereUniqueWithoutCategoriesInput[];
    createMany?: Prisma.lists_categoriesCreateManyCategoriesInputEnvelope;
    set?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
    disconnect?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
    delete?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
    connect?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
    update?: Prisma.lists_categoriesUpdateWithWhereUniqueWithoutCategoriesInput | Prisma.lists_categoriesUpdateWithWhereUniqueWithoutCategoriesInput[];
    updateMany?: Prisma.lists_categoriesUpdateManyWithWhereWithoutCategoriesInput | Prisma.lists_categoriesUpdateManyWithWhereWithoutCategoriesInput[];
    deleteMany?: Prisma.lists_categoriesScalarWhereInput | Prisma.lists_categoriesScalarWhereInput[];
};
export type lists_categoriesCreateNestedManyWithoutListsInput = {
    create?: Prisma.XOR<Prisma.lists_categoriesCreateWithoutListsInput, Prisma.lists_categoriesUncheckedCreateWithoutListsInput> | Prisma.lists_categoriesCreateWithoutListsInput[] | Prisma.lists_categoriesUncheckedCreateWithoutListsInput[];
    connectOrCreate?: Prisma.lists_categoriesCreateOrConnectWithoutListsInput | Prisma.lists_categoriesCreateOrConnectWithoutListsInput[];
    createMany?: Prisma.lists_categoriesCreateManyListsInputEnvelope;
    connect?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
};
export type lists_categoriesUncheckedCreateNestedManyWithoutListsInput = {
    create?: Prisma.XOR<Prisma.lists_categoriesCreateWithoutListsInput, Prisma.lists_categoriesUncheckedCreateWithoutListsInput> | Prisma.lists_categoriesCreateWithoutListsInput[] | Prisma.lists_categoriesUncheckedCreateWithoutListsInput[];
    connectOrCreate?: Prisma.lists_categoriesCreateOrConnectWithoutListsInput | Prisma.lists_categoriesCreateOrConnectWithoutListsInput[];
    createMany?: Prisma.lists_categoriesCreateManyListsInputEnvelope;
    connect?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
};
export type lists_categoriesUpdateManyWithoutListsNestedInput = {
    create?: Prisma.XOR<Prisma.lists_categoriesCreateWithoutListsInput, Prisma.lists_categoriesUncheckedCreateWithoutListsInput> | Prisma.lists_categoriesCreateWithoutListsInput[] | Prisma.lists_categoriesUncheckedCreateWithoutListsInput[];
    connectOrCreate?: Prisma.lists_categoriesCreateOrConnectWithoutListsInput | Prisma.lists_categoriesCreateOrConnectWithoutListsInput[];
    upsert?: Prisma.lists_categoriesUpsertWithWhereUniqueWithoutListsInput | Prisma.lists_categoriesUpsertWithWhereUniqueWithoutListsInput[];
    createMany?: Prisma.lists_categoriesCreateManyListsInputEnvelope;
    set?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
    disconnect?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
    delete?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
    connect?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
    update?: Prisma.lists_categoriesUpdateWithWhereUniqueWithoutListsInput | Prisma.lists_categoriesUpdateWithWhereUniqueWithoutListsInput[];
    updateMany?: Prisma.lists_categoriesUpdateManyWithWhereWithoutListsInput | Prisma.lists_categoriesUpdateManyWithWhereWithoutListsInput[];
    deleteMany?: Prisma.lists_categoriesScalarWhereInput | Prisma.lists_categoriesScalarWhereInput[];
};
export type lists_categoriesUncheckedUpdateManyWithoutListsNestedInput = {
    create?: Prisma.XOR<Prisma.lists_categoriesCreateWithoutListsInput, Prisma.lists_categoriesUncheckedCreateWithoutListsInput> | Prisma.lists_categoriesCreateWithoutListsInput[] | Prisma.lists_categoriesUncheckedCreateWithoutListsInput[];
    connectOrCreate?: Prisma.lists_categoriesCreateOrConnectWithoutListsInput | Prisma.lists_categoriesCreateOrConnectWithoutListsInput[];
    upsert?: Prisma.lists_categoriesUpsertWithWhereUniqueWithoutListsInput | Prisma.lists_categoriesUpsertWithWhereUniqueWithoutListsInput[];
    createMany?: Prisma.lists_categoriesCreateManyListsInputEnvelope;
    set?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
    disconnect?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
    delete?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
    connect?: Prisma.lists_categoriesWhereUniqueInput | Prisma.lists_categoriesWhereUniqueInput[];
    update?: Prisma.lists_categoriesUpdateWithWhereUniqueWithoutListsInput | Prisma.lists_categoriesUpdateWithWhereUniqueWithoutListsInput[];
    updateMany?: Prisma.lists_categoriesUpdateManyWithWhereWithoutListsInput | Prisma.lists_categoriesUpdateManyWithWhereWithoutListsInput[];
    deleteMany?: Prisma.lists_categoriesScalarWhereInput | Prisma.lists_categoriesScalarWhereInput[];
};
export type lists_categoriesCreateWithoutCategoriesInput = {
    lists?: Prisma.listsCreateNestedOneWithoutLists_categoriesInput;
};
export type lists_categoriesUncheckedCreateWithoutCategoriesInput = {
    id?: number;
    lists_id?: number | null;
};
export type lists_categoriesCreateOrConnectWithoutCategoriesInput = {
    where: Prisma.lists_categoriesWhereUniqueInput;
    create: Prisma.XOR<Prisma.lists_categoriesCreateWithoutCategoriesInput, Prisma.lists_categoriesUncheckedCreateWithoutCategoriesInput>;
};
export type lists_categoriesCreateManyCategoriesInputEnvelope = {
    data: Prisma.lists_categoriesCreateManyCategoriesInput | Prisma.lists_categoriesCreateManyCategoriesInput[];
    skipDuplicates?: boolean;
};
export type lists_categoriesUpsertWithWhereUniqueWithoutCategoriesInput = {
    where: Prisma.lists_categoriesWhereUniqueInput;
    update: Prisma.XOR<Prisma.lists_categoriesUpdateWithoutCategoriesInput, Prisma.lists_categoriesUncheckedUpdateWithoutCategoriesInput>;
    create: Prisma.XOR<Prisma.lists_categoriesCreateWithoutCategoriesInput, Prisma.lists_categoriesUncheckedCreateWithoutCategoriesInput>;
};
export type lists_categoriesUpdateWithWhereUniqueWithoutCategoriesInput = {
    where: Prisma.lists_categoriesWhereUniqueInput;
    data: Prisma.XOR<Prisma.lists_categoriesUpdateWithoutCategoriesInput, Prisma.lists_categoriesUncheckedUpdateWithoutCategoriesInput>;
};
export type lists_categoriesUpdateManyWithWhereWithoutCategoriesInput = {
    where: Prisma.lists_categoriesScalarWhereInput;
    data: Prisma.XOR<Prisma.lists_categoriesUpdateManyMutationInput, Prisma.lists_categoriesUncheckedUpdateManyWithoutCategoriesInput>;
};
export type lists_categoriesScalarWhereInput = {
    AND?: Prisma.lists_categoriesScalarWhereInput | Prisma.lists_categoriesScalarWhereInput[];
    OR?: Prisma.lists_categoriesScalarWhereInput[];
    NOT?: Prisma.lists_categoriesScalarWhereInput | Prisma.lists_categoriesScalarWhereInput[];
    id?: Prisma.IntFilter<"lists_categories"> | number;
    lists_id?: Prisma.IntNullableFilter<"lists_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"lists_categories"> | number | null;
};
export type lists_categoriesCreateWithoutListsInput = {
    categories?: Prisma.categoriesCreateNestedOneWithoutLists_categoriesInput;
};
export type lists_categoriesUncheckedCreateWithoutListsInput = {
    id?: number;
    categories_id?: number | null;
};
export type lists_categoriesCreateOrConnectWithoutListsInput = {
    where: Prisma.lists_categoriesWhereUniqueInput;
    create: Prisma.XOR<Prisma.lists_categoriesCreateWithoutListsInput, Prisma.lists_categoriesUncheckedCreateWithoutListsInput>;
};
export type lists_categoriesCreateManyListsInputEnvelope = {
    data: Prisma.lists_categoriesCreateManyListsInput | Prisma.lists_categoriesCreateManyListsInput[];
    skipDuplicates?: boolean;
};
export type lists_categoriesUpsertWithWhereUniqueWithoutListsInput = {
    where: Prisma.lists_categoriesWhereUniqueInput;
    update: Prisma.XOR<Prisma.lists_categoriesUpdateWithoutListsInput, Prisma.lists_categoriesUncheckedUpdateWithoutListsInput>;
    create: Prisma.XOR<Prisma.lists_categoriesCreateWithoutListsInput, Prisma.lists_categoriesUncheckedCreateWithoutListsInput>;
};
export type lists_categoriesUpdateWithWhereUniqueWithoutListsInput = {
    where: Prisma.lists_categoriesWhereUniqueInput;
    data: Prisma.XOR<Prisma.lists_categoriesUpdateWithoutListsInput, Prisma.lists_categoriesUncheckedUpdateWithoutListsInput>;
};
export type lists_categoriesUpdateManyWithWhereWithoutListsInput = {
    where: Prisma.lists_categoriesScalarWhereInput;
    data: Prisma.XOR<Prisma.lists_categoriesUpdateManyMutationInput, Prisma.lists_categoriesUncheckedUpdateManyWithoutListsInput>;
};
export type lists_categoriesCreateManyCategoriesInput = {
    id?: number;
    lists_id?: number | null;
};
export type lists_categoriesUpdateWithoutCategoriesInput = {
    lists?: Prisma.listsUpdateOneWithoutLists_categoriesNestedInput;
};
export type lists_categoriesUncheckedUpdateWithoutCategoriesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    lists_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type lists_categoriesUncheckedUpdateManyWithoutCategoriesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    lists_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type lists_categoriesCreateManyListsInput = {
    id?: number;
    categories_id?: number | null;
};
export type lists_categoriesUpdateWithoutListsInput = {
    categories?: Prisma.categoriesUpdateOneWithoutLists_categoriesNestedInput;
};
export type lists_categoriesUncheckedUpdateWithoutListsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type lists_categoriesUncheckedUpdateManyWithoutListsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type lists_categoriesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    lists_id?: boolean;
    categories_id?: boolean;
    categories?: boolean | Prisma.lists_categories$categoriesArgs<ExtArgs>;
    lists?: boolean | Prisma.lists_categories$listsArgs<ExtArgs>;
}, ExtArgs["result"]["lists_categories"]>;
export type lists_categoriesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    lists_id?: boolean;
    categories_id?: boolean;
    categories?: boolean | Prisma.lists_categories$categoriesArgs<ExtArgs>;
    lists?: boolean | Prisma.lists_categories$listsArgs<ExtArgs>;
}, ExtArgs["result"]["lists_categories"]>;
export type lists_categoriesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    lists_id?: boolean;
    categories_id?: boolean;
    categories?: boolean | Prisma.lists_categories$categoriesArgs<ExtArgs>;
    lists?: boolean | Prisma.lists_categories$listsArgs<ExtArgs>;
}, ExtArgs["result"]["lists_categories"]>;
export type lists_categoriesSelectScalar = {
    id?: boolean;
    lists_id?: boolean;
    categories_id?: boolean;
};
export type lists_categoriesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "lists_id" | "categories_id", ExtArgs["result"]["lists_categories"]>;
export type lists_categoriesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.lists_categories$categoriesArgs<ExtArgs>;
    lists?: boolean | Prisma.lists_categories$listsArgs<ExtArgs>;
};
export type lists_categoriesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.lists_categories$categoriesArgs<ExtArgs>;
    lists?: boolean | Prisma.lists_categories$listsArgs<ExtArgs>;
};
export type lists_categoriesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.lists_categories$categoriesArgs<ExtArgs>;
    lists?: boolean | Prisma.lists_categories$listsArgs<ExtArgs>;
};
export type $lists_categoriesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "lists_categories";
    objects: {
        categories: Prisma.$categoriesPayload<ExtArgs> | null;
        lists: Prisma.$listsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        lists_id: number | null;
        categories_id: number | null;
    }, ExtArgs["result"]["lists_categories"]>;
    composites: {};
};
export type lists_categoriesGetPayload<S extends boolean | null | undefined | lists_categoriesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$lists_categoriesPayload, S>;
export type lists_categoriesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<lists_categoriesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Lists_categoriesCountAggregateInputType | true;
};
export interface lists_categoriesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['lists_categories'];
        meta: {
            name: 'lists_categories';
        };
    };
    /**
     * Find zero or one Lists_categories that matches the filter.
     * @param {lists_categoriesFindUniqueArgs} args - Arguments to find a Lists_categories
     * @example
     * // Get one Lists_categories
     * const lists_categories = await prisma.lists_categories.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends lists_categoriesFindUniqueArgs>(args: Prisma.SelectSubset<T, lists_categoriesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__lists_categoriesClient<runtime.Types.Result.GetResult<Prisma.$lists_categoriesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Lists_categories that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {lists_categoriesFindUniqueOrThrowArgs} args - Arguments to find a Lists_categories
     * @example
     * // Get one Lists_categories
     * const lists_categories = await prisma.lists_categories.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends lists_categoriesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, lists_categoriesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__lists_categoriesClient<runtime.Types.Result.GetResult<Prisma.$lists_categoriesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Lists_categories that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {lists_categoriesFindFirstArgs} args - Arguments to find a Lists_categories
     * @example
     * // Get one Lists_categories
     * const lists_categories = await prisma.lists_categories.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends lists_categoriesFindFirstArgs>(args?: Prisma.SelectSubset<T, lists_categoriesFindFirstArgs<ExtArgs>>): Prisma.Prisma__lists_categoriesClient<runtime.Types.Result.GetResult<Prisma.$lists_categoriesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Lists_categories that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {lists_categoriesFindFirstOrThrowArgs} args - Arguments to find a Lists_categories
     * @example
     * // Get one Lists_categories
     * const lists_categories = await prisma.lists_categories.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends lists_categoriesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, lists_categoriesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__lists_categoriesClient<runtime.Types.Result.GetResult<Prisma.$lists_categoriesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Lists_categories that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {lists_categoriesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Lists_categories
     * const lists_categories = await prisma.lists_categories.findMany()
     *
     * // Get first 10 Lists_categories
     * const lists_categories = await prisma.lists_categories.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const lists_categoriesWithIdOnly = await prisma.lists_categories.findMany({ select: { id: true } })
     *
     */
    findMany<T extends lists_categoriesFindManyArgs>(args?: Prisma.SelectSubset<T, lists_categoriesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$lists_categoriesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Lists_categories.
     * @param {lists_categoriesCreateArgs} args - Arguments to create a Lists_categories.
     * @example
     * // Create one Lists_categories
     * const Lists_categories = await prisma.lists_categories.create({
     *   data: {
     *     // ... data to create a Lists_categories
     *   }
     * })
     *
     */
    create<T extends lists_categoriesCreateArgs>(args: Prisma.SelectSubset<T, lists_categoriesCreateArgs<ExtArgs>>): Prisma.Prisma__lists_categoriesClient<runtime.Types.Result.GetResult<Prisma.$lists_categoriesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Lists_categories.
     * @param {lists_categoriesCreateManyArgs} args - Arguments to create many Lists_categories.
     * @example
     * // Create many Lists_categories
     * const lists_categories = await prisma.lists_categories.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends lists_categoriesCreateManyArgs>(args?: Prisma.SelectSubset<T, lists_categoriesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Lists_categories and returns the data saved in the database.
     * @param {lists_categoriesCreateManyAndReturnArgs} args - Arguments to create many Lists_categories.
     * @example
     * // Create many Lists_categories
     * const lists_categories = await prisma.lists_categories.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Lists_categories and only return the `id`
     * const lists_categoriesWithIdOnly = await prisma.lists_categories.createManyAndReturn({
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     *
     */
    createManyAndReturn<T extends lists_categoriesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, lists_categoriesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$lists_categoriesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Lists_categories.
     * @param {lists_categoriesDeleteArgs} args - Arguments to delete one Lists_categories.
     * @example
     * // Delete one Lists_categories
     * const Lists_categories = await prisma.lists_categories.delete({
     *   where: {
     *     // ... filter to delete one Lists_categories
     *   }
     * })
     *
     */
    delete<T extends lists_categoriesDeleteArgs>(args: Prisma.SelectSubset<T, lists_categoriesDeleteArgs<ExtArgs>>): Prisma.Prisma__lists_categoriesClient<runtime.Types.Result.GetResult<Prisma.$lists_categoriesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Lists_categories.
     * @param {lists_categoriesUpdateArgs} args - Arguments to update one Lists_categories.
     * @example
     * // Update one Lists_categories
     * const lists_categories = await prisma.lists_categories.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends lists_categoriesUpdateArgs>(args: Prisma.SelectSubset<T, lists_categoriesUpdateArgs<ExtArgs>>): Prisma.Prisma__lists_categoriesClient<runtime.Types.Result.GetResult<Prisma.$lists_categoriesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Lists_categories.
     * @param {lists_categoriesDeleteManyArgs} args - Arguments to filter Lists_categories to delete.
     * @example
     * // Delete a few Lists_categories
     * const { count } = await prisma.lists_categories.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends lists_categoriesDeleteManyArgs>(args?: Prisma.SelectSubset<T, lists_categoriesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Lists_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {lists_categoriesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Lists_categories
     * const lists_categories = await prisma.lists_categories.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends lists_categoriesUpdateManyArgs>(args: Prisma.SelectSubset<T, lists_categoriesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Lists_categories and returns the data updated in the database.
     * @param {lists_categoriesUpdateManyAndReturnArgs} args - Arguments to update many Lists_categories.
     * @example
     * // Update many Lists_categories
     * const lists_categories = await prisma.lists_categories.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Lists_categories and only return the `id`
     * const lists_categoriesWithIdOnly = await prisma.lists_categories.updateManyAndReturn({
     *   select: { id: true },
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     *
     */
    updateManyAndReturn<T extends lists_categoriesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, lists_categoriesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$lists_categoriesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Lists_categories.
     * @param {lists_categoriesUpsertArgs} args - Arguments to update or create a Lists_categories.
     * @example
     * // Update or create a Lists_categories
     * const lists_categories = await prisma.lists_categories.upsert({
     *   create: {
     *     // ... data to create a Lists_categories
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Lists_categories we want to update
     *   }
     * })
     */
    upsert<T extends lists_categoriesUpsertArgs>(args: Prisma.SelectSubset<T, lists_categoriesUpsertArgs<ExtArgs>>): Prisma.Prisma__lists_categoriesClient<runtime.Types.Result.GetResult<Prisma.$lists_categoriesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Lists_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {lists_categoriesCountArgs} args - Arguments to filter Lists_categories to count.
     * @example
     * // Count the number of Lists_categories
     * const count = await prisma.lists_categories.count({
     *   where: {
     *     // ... the filter for the Lists_categories we want to count
     *   }
     * })
    **/
    count<T extends lists_categoriesCountArgs>(args?: Prisma.Subset<T, lists_categoriesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Lists_categoriesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Lists_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Lists_categoriesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends Lists_categoriesAggregateArgs>(args: Prisma.Subset<T, Lists_categoriesAggregateArgs>): Prisma.PrismaPromise<GetLists_categoriesAggregateType<T>>;
    /**
     * Group by Lists_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {lists_categoriesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     *
    **/
    groupBy<T extends lists_categoriesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: lists_categoriesGroupByArgs['orderBy'];
    } : {
        orderBy?: lists_categoriesGroupByArgs['orderBy'];
    }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
        [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
            Error,
            'Field ',
            P,
            ` in "having" needs to be provided in "by"`
        ];
    }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields]>(args: Prisma.SubsetIntersection<T, lists_categoriesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetLists_categoriesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the lists_categories model
     */
    readonly fields: lists_categoriesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for lists_categories.
 * Why is this prefixed with `Prisma__`?
 * Because we want to prevent naming conflicts as mentioned in
 * https://github.com/prisma/prisma-client-js/issues/707
 */
export interface Prisma__lists_categoriesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    categories<T extends Prisma.lists_categories$categoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.lists_categories$categoriesArgs<ExtArgs>>): Prisma.Prisma__categoriesClient<runtime.Types.Result.GetResult<Prisma.$categoriesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    lists<T extends Prisma.lists_categories$listsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.lists_categories$listsArgs<ExtArgs>>): Prisma.Prisma__listsClient<runtime.Types.Result.GetResult<Prisma.$listsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
}
/**
 * Fields of the lists_categories model
 */
export interface lists_categoriesFieldRefs {
    readonly id: Prisma.FieldRef<"lists_categories", 'Int'>;
    readonly lists_id: Prisma.FieldRef<"lists_categories", 'Int'>;
    readonly categories_id: Prisma.FieldRef<"lists_categories", 'Int'>;
}
/**
 * lists_categories findUnique
 */
export type lists_categoriesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_categories
     */
    select?: Prisma.lists_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_categories
     */
    omit?: Prisma.lists_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which lists_categories to fetch.
     */
    where: Prisma.lists_categoriesWhereUniqueInput;
};
/**
 * lists_categories findUniqueOrThrow
 */
export type lists_categoriesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_categories
     */
    select?: Prisma.lists_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_categories
     */
    omit?: Prisma.lists_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which lists_categories to fetch.
     */
    where: Prisma.lists_categoriesWhereUniqueInput;
};
/**
 * lists_categories findFirst
 */
export type lists_categoriesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_categories
     */
    select?: Prisma.lists_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_categories
     */
    omit?: Prisma.lists_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which lists_categories to fetch.
     */
    where?: Prisma.lists_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of lists_categories to fetch.
     */
    orderBy?: Prisma.lists_categoriesOrderByWithRelationInput | Prisma.lists_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for lists_categories.
     */
    cursor?: Prisma.lists_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` lists_categories from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` lists_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of lists_categories.
     */
    distinct?: Prisma.Lists_categoriesScalarFieldEnum | Prisma.Lists_categoriesScalarFieldEnum[];
};
/**
 * lists_categories findFirstOrThrow
 */
export type lists_categoriesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_categories
     */
    select?: Prisma.lists_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_categories
     */
    omit?: Prisma.lists_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which lists_categories to fetch.
     */
    where?: Prisma.lists_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of lists_categories to fetch.
     */
    orderBy?: Prisma.lists_categoriesOrderByWithRelationInput | Prisma.lists_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for lists_categories.
     */
    cursor?: Prisma.lists_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` lists_categories from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` lists_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of lists_categories.
     */
    distinct?: Prisma.Lists_categoriesScalarFieldEnum | Prisma.Lists_categoriesScalarFieldEnum[];
};
/**
 * lists_categories findMany
 */
export type lists_categoriesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_categories
     */
    select?: Prisma.lists_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_categories
     */
    omit?: Prisma.lists_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which lists_categories to fetch.
     */
    where?: Prisma.lists_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of lists_categories to fetch.
     */
    orderBy?: Prisma.lists_categoriesOrderByWithRelationInput | Prisma.lists_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing lists_categories.
     */
    cursor?: Prisma.lists_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` lists_categories from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` lists_categories.
     */
    skip?: number;
    distinct?: Prisma.Lists_categoriesScalarFieldEnum | Prisma.Lists_categoriesScalarFieldEnum[];
};
/**
 * lists_categories create
 */
export type lists_categoriesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_categories
     */
    select?: Prisma.lists_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_categories
     */
    omit?: Prisma.lists_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_categoriesInclude<ExtArgs> | null;
    /**
     * The data needed to create a lists_categories.
     */
    data?: Prisma.XOR<Prisma.lists_categoriesCreateInput, Prisma.lists_categoriesUncheckedCreateInput>;
};
/**
 * lists_categories createMany
 */
export type lists_categoriesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many lists_categories.
     */
    data: Prisma.lists_categoriesCreateManyInput | Prisma.lists_categoriesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * lists_categories createManyAndReturn
 */
export type lists_categoriesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_categories
     */
    select?: Prisma.lists_categoriesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_categories
     */
    omit?: Prisma.lists_categoriesOmit<ExtArgs> | null;
    /**
     * The data used to create many lists_categories.
     */
    data: Prisma.lists_categoriesCreateManyInput | Prisma.lists_categoriesCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_categoriesIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * lists_categories update
 */
export type lists_categoriesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_categories
     */
    select?: Prisma.lists_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_categories
     */
    omit?: Prisma.lists_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_categoriesInclude<ExtArgs> | null;
    /**
     * The data needed to update a lists_categories.
     */
    data: Prisma.XOR<Prisma.lists_categoriesUpdateInput, Prisma.lists_categoriesUncheckedUpdateInput>;
    /**
     * Choose, which lists_categories to update.
     */
    where: Prisma.lists_categoriesWhereUniqueInput;
};
/**
 * lists_categories updateMany
 */
export type lists_categoriesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update lists_categories.
     */
    data: Prisma.XOR<Prisma.lists_categoriesUpdateManyMutationInput, Prisma.lists_categoriesUncheckedUpdateManyInput>;
    /**
     * Filter which lists_categories to update
     */
    where?: Prisma.lists_categoriesWhereInput;
    /**
     * Limit how many lists_categories to update.
     */
    limit?: number;
};
/**
 * lists_categories updateManyAndReturn
 */
export type lists_categoriesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_categories
     */
    select?: Prisma.lists_categoriesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_categories
     */
    omit?: Prisma.lists_categoriesOmit<ExtArgs> | null;
    /**
     * The data used to update lists_categories.
     */
    data: Prisma.XOR<Prisma.lists_categoriesUpdateManyMutationInput, Prisma.lists_categoriesUncheckedUpdateManyInput>;
    /**
     * Filter which lists_categories to update
     */
    where?: Prisma.lists_categoriesWhereInput;
    /**
     * Limit how many lists_categories to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_categoriesIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * lists_categories upsert
 */
export type lists_categoriesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_categories
     */
    select?: Prisma.lists_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_categories
     */
    omit?: Prisma.lists_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_categoriesInclude<ExtArgs> | null;
    /**
     * The filter to search for the lists_categories to update in case it exists.
     */
    where: Prisma.lists_categoriesWhereUniqueInput;
    /**
     * In case the lists_categories found by the `where` argument doesn't exist, create a new lists_categories with this data.
     */
    create: Prisma.XOR<Prisma.lists_categoriesCreateInput, Prisma.lists_categoriesUncheckedCreateInput>;
    /**
     * In case the lists_categories was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.lists_categoriesUpdateInput, Prisma.lists_categoriesUncheckedUpdateInput>;
};
/**
 * lists_categories delete
 */
export type lists_categoriesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_categories
     */
    select?: Prisma.lists_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_categories
     */
    omit?: Prisma.lists_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_categoriesInclude<ExtArgs> | null;
    /**
     * Filter which lists_categories to delete.
     */
    where: Prisma.lists_categoriesWhereUniqueInput;
};
/**
 * lists_categories deleteMany
 */
export type lists_categoriesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which lists_categories to delete
     */
    where?: Prisma.lists_categoriesWhereInput;
    /**
     * Limit how many lists_categories to delete.
     */
    limit?: number;
};
/**
 * lists_categories.categories
 */
export type lists_categories$categoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories
     */
    select?: Prisma.categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the categories
     */
    omit?: Prisma.categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categoriesInclude<ExtArgs> | null;
    where?: Prisma.categoriesWhereInput;
};
/**
 * lists_categories.lists
 */
export type lists_categories$listsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists
     */
    select?: Prisma.listsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists
     */
    omit?: Prisma.listsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.listsInclude<ExtArgs> | null;
    where?: Prisma.listsWhereInput;
};
/**
 * lists_categories without action
 */
export type lists_categoriesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_categories
     */
    select?: Prisma.lists_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_categories
     */
    omit?: Prisma.lists_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_categoriesInclude<ExtArgs> | null;
};
export {};
