import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model lists_templates
 * 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_templatesModel = runtime.Types.Result.DefaultSelection<Prisma.$lists_templatesPayload>;
export type AggregateLists_templates = {
    _count: Lists_templatesCountAggregateOutputType | null;
    _avg: Lists_templatesAvgAggregateOutputType | null;
    _sum: Lists_templatesSumAggregateOutputType | null;
    _min: Lists_templatesMinAggregateOutputType | null;
    _max: Lists_templatesMaxAggregateOutputType | null;
};
export type Lists_templatesAvgAggregateOutputType = {
    id: number | null;
    lists_id: number | null;
    templates_id: number | null;
};
export type Lists_templatesSumAggregateOutputType = {
    id: number | null;
    lists_id: number | null;
    templates_id: number | null;
};
export type Lists_templatesMinAggregateOutputType = {
    id: number | null;
    lists_id: number | null;
    templates_id: number | null;
};
export type Lists_templatesMaxAggregateOutputType = {
    id: number | null;
    lists_id: number | null;
    templates_id: number | null;
};
export type Lists_templatesCountAggregateOutputType = {
    id: number;
    lists_id: number;
    templates_id: number;
    _all: number;
};
export type Lists_templatesAvgAggregateInputType = {
    id?: true;
    lists_id?: true;
    templates_id?: true;
};
export type Lists_templatesSumAggregateInputType = {
    id?: true;
    lists_id?: true;
    templates_id?: true;
};
export type Lists_templatesMinAggregateInputType = {
    id?: true;
    lists_id?: true;
    templates_id?: true;
};
export type Lists_templatesMaxAggregateInputType = {
    id?: true;
    lists_id?: true;
    templates_id?: true;
};
export type Lists_templatesCountAggregateInputType = {
    id?: true;
    lists_id?: true;
    templates_id?: true;
    _all?: true;
};
export type Lists_templatesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which lists_templates to aggregate.
     */
    where?: Prisma.lists_templatesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of lists_templates to fetch.
     */
    orderBy?: Prisma.lists_templatesOrderByWithRelationInput | Prisma.lists_templatesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.lists_templatesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` lists_templates 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_templates.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned lists_templates
    **/
    _count?: true | Lists_templatesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Lists_templatesAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Lists_templatesSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Lists_templatesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Lists_templatesMaxAggregateInputType;
};
export type GetLists_templatesAggregateType<T extends Lists_templatesAggregateArgs> = {
    [P in keyof T & keyof AggregateLists_templates]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateLists_templates[P]> : Prisma.GetScalarType<T[P], AggregateLists_templates[P]>;
};
export type lists_templatesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.lists_templatesWhereInput;
    orderBy?: Prisma.lists_templatesOrderByWithAggregationInput | Prisma.lists_templatesOrderByWithAggregationInput[];
    by: Prisma.Lists_templatesScalarFieldEnum[] | Prisma.Lists_templatesScalarFieldEnum;
    having?: Prisma.lists_templatesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Lists_templatesCountAggregateInputType | true;
    _avg?: Lists_templatesAvgAggregateInputType;
    _sum?: Lists_templatesSumAggregateInputType;
    _min?: Lists_templatesMinAggregateInputType;
    _max?: Lists_templatesMaxAggregateInputType;
};
export type Lists_templatesGroupByOutputType = {
    id: number;
    lists_id: number | null;
    templates_id: number | null;
    _count: Lists_templatesCountAggregateOutputType | null;
    _avg: Lists_templatesAvgAggregateOutputType | null;
    _sum: Lists_templatesSumAggregateOutputType | null;
    _min: Lists_templatesMinAggregateOutputType | null;
    _max: Lists_templatesMaxAggregateOutputType | null;
};
type GetLists_templatesGroupByPayload<T extends lists_templatesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Lists_templatesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Lists_templatesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Lists_templatesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Lists_templatesGroupByOutputType[P]>;
}>>;
export type lists_templatesWhereInput = {
    AND?: Prisma.lists_templatesWhereInput | Prisma.lists_templatesWhereInput[];
    OR?: Prisma.lists_templatesWhereInput[];
    NOT?: Prisma.lists_templatesWhereInput | Prisma.lists_templatesWhereInput[];
    id?: Prisma.IntFilter<"lists_templates"> | number;
    lists_id?: Prisma.IntNullableFilter<"lists_templates"> | number | null;
    templates_id?: Prisma.IntNullableFilter<"lists_templates"> | number | null;
    lists?: Prisma.XOR<Prisma.ListsNullableScalarRelationFilter, Prisma.listsWhereInput> | null;
    templates?: Prisma.XOR<Prisma.TemplatesNullableScalarRelationFilter, Prisma.templatesWhereInput> | null;
};
export type lists_templatesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    templates_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    lists?: Prisma.listsOrderByWithRelationInput;
    templates?: Prisma.templatesOrderByWithRelationInput;
};
export type lists_templatesWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.lists_templatesWhereInput | Prisma.lists_templatesWhereInput[];
    OR?: Prisma.lists_templatesWhereInput[];
    NOT?: Prisma.lists_templatesWhereInput | Prisma.lists_templatesWhereInput[];
    lists_id?: Prisma.IntNullableFilter<"lists_templates"> | number | null;
    templates_id?: Prisma.IntNullableFilter<"lists_templates"> | number | null;
    lists?: Prisma.XOR<Prisma.ListsNullableScalarRelationFilter, Prisma.listsWhereInput> | null;
    templates?: Prisma.XOR<Prisma.TemplatesNullableScalarRelationFilter, Prisma.templatesWhereInput> | null;
}, "id">;
export type lists_templatesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    templates_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.lists_templatesCountOrderByAggregateInput;
    _avg?: Prisma.lists_templatesAvgOrderByAggregateInput;
    _max?: Prisma.lists_templatesMaxOrderByAggregateInput;
    _min?: Prisma.lists_templatesMinOrderByAggregateInput;
    _sum?: Prisma.lists_templatesSumOrderByAggregateInput;
};
export type lists_templatesScalarWhereWithAggregatesInput = {
    AND?: Prisma.lists_templatesScalarWhereWithAggregatesInput | Prisma.lists_templatesScalarWhereWithAggregatesInput[];
    OR?: Prisma.lists_templatesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.lists_templatesScalarWhereWithAggregatesInput | Prisma.lists_templatesScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"lists_templates"> | number;
    lists_id?: Prisma.IntNullableWithAggregatesFilter<"lists_templates"> | number | null;
    templates_id?: Prisma.IntNullableWithAggregatesFilter<"lists_templates"> | number | null;
};
export type lists_templatesCreateInput = {
    lists?: Prisma.listsCreateNestedOneWithoutLists_templatesInput;
    templates?: Prisma.templatesCreateNestedOneWithoutLists_templatesInput;
};
export type lists_templatesUncheckedCreateInput = {
    id?: number;
    lists_id?: number | null;
    templates_id?: number | null;
};
export type lists_templatesUpdateInput = {
    lists?: Prisma.listsUpdateOneWithoutLists_templatesNestedInput;
    templates?: Prisma.templatesUpdateOneWithoutLists_templatesNestedInput;
};
export type lists_templatesUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    lists_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    templates_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type lists_templatesCreateManyInput = {
    id?: number;
    lists_id?: number | null;
    templates_id?: number | null;
};
export type lists_templatesUpdateManyMutationInput = {};
export type lists_templatesUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    lists_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    templates_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Lists_templatesListRelationFilter = {
    every?: Prisma.lists_templatesWhereInput;
    some?: Prisma.lists_templatesWhereInput;
    none?: Prisma.lists_templatesWhereInput;
};
export type lists_templatesOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type lists_templatesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
    templates_id?: Prisma.SortOrder;
};
export type lists_templatesAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
    templates_id?: Prisma.SortOrder;
};
export type lists_templatesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
    templates_id?: Prisma.SortOrder;
};
export type lists_templatesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
    templates_id?: Prisma.SortOrder;
};
export type lists_templatesSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
    templates_id?: Prisma.SortOrder;
};
export type lists_templatesCreateNestedManyWithoutListsInput = {
    create?: Prisma.XOR<Prisma.lists_templatesCreateWithoutListsInput, Prisma.lists_templatesUncheckedCreateWithoutListsInput> | Prisma.lists_templatesCreateWithoutListsInput[] | Prisma.lists_templatesUncheckedCreateWithoutListsInput[];
    connectOrCreate?: Prisma.lists_templatesCreateOrConnectWithoutListsInput | Prisma.lists_templatesCreateOrConnectWithoutListsInput[];
    createMany?: Prisma.lists_templatesCreateManyListsInputEnvelope;
    connect?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
};
export type lists_templatesUncheckedCreateNestedManyWithoutListsInput = {
    create?: Prisma.XOR<Prisma.lists_templatesCreateWithoutListsInput, Prisma.lists_templatesUncheckedCreateWithoutListsInput> | Prisma.lists_templatesCreateWithoutListsInput[] | Prisma.lists_templatesUncheckedCreateWithoutListsInput[];
    connectOrCreate?: Prisma.lists_templatesCreateOrConnectWithoutListsInput | Prisma.lists_templatesCreateOrConnectWithoutListsInput[];
    createMany?: Prisma.lists_templatesCreateManyListsInputEnvelope;
    connect?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
};
export type lists_templatesUpdateManyWithoutListsNestedInput = {
    create?: Prisma.XOR<Prisma.lists_templatesCreateWithoutListsInput, Prisma.lists_templatesUncheckedCreateWithoutListsInput> | Prisma.lists_templatesCreateWithoutListsInput[] | Prisma.lists_templatesUncheckedCreateWithoutListsInput[];
    connectOrCreate?: Prisma.lists_templatesCreateOrConnectWithoutListsInput | Prisma.lists_templatesCreateOrConnectWithoutListsInput[];
    upsert?: Prisma.lists_templatesUpsertWithWhereUniqueWithoutListsInput | Prisma.lists_templatesUpsertWithWhereUniqueWithoutListsInput[];
    createMany?: Prisma.lists_templatesCreateManyListsInputEnvelope;
    set?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
    disconnect?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
    delete?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
    connect?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
    update?: Prisma.lists_templatesUpdateWithWhereUniqueWithoutListsInput | Prisma.lists_templatesUpdateWithWhereUniqueWithoutListsInput[];
    updateMany?: Prisma.lists_templatesUpdateManyWithWhereWithoutListsInput | Prisma.lists_templatesUpdateManyWithWhereWithoutListsInput[];
    deleteMany?: Prisma.lists_templatesScalarWhereInput | Prisma.lists_templatesScalarWhereInput[];
};
export type lists_templatesUncheckedUpdateManyWithoutListsNestedInput = {
    create?: Prisma.XOR<Prisma.lists_templatesCreateWithoutListsInput, Prisma.lists_templatesUncheckedCreateWithoutListsInput> | Prisma.lists_templatesCreateWithoutListsInput[] | Prisma.lists_templatesUncheckedCreateWithoutListsInput[];
    connectOrCreate?: Prisma.lists_templatesCreateOrConnectWithoutListsInput | Prisma.lists_templatesCreateOrConnectWithoutListsInput[];
    upsert?: Prisma.lists_templatesUpsertWithWhereUniqueWithoutListsInput | Prisma.lists_templatesUpsertWithWhereUniqueWithoutListsInput[];
    createMany?: Prisma.lists_templatesCreateManyListsInputEnvelope;
    set?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
    disconnect?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
    delete?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
    connect?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
    update?: Prisma.lists_templatesUpdateWithWhereUniqueWithoutListsInput | Prisma.lists_templatesUpdateWithWhereUniqueWithoutListsInput[];
    updateMany?: Prisma.lists_templatesUpdateManyWithWhereWithoutListsInput | Prisma.lists_templatesUpdateManyWithWhereWithoutListsInput[];
    deleteMany?: Prisma.lists_templatesScalarWhereInput | Prisma.lists_templatesScalarWhereInput[];
};
export type lists_templatesCreateNestedManyWithoutTemplatesInput = {
    create?: Prisma.XOR<Prisma.lists_templatesCreateWithoutTemplatesInput, Prisma.lists_templatesUncheckedCreateWithoutTemplatesInput> | Prisma.lists_templatesCreateWithoutTemplatesInput[] | Prisma.lists_templatesUncheckedCreateWithoutTemplatesInput[];
    connectOrCreate?: Prisma.lists_templatesCreateOrConnectWithoutTemplatesInput | Prisma.lists_templatesCreateOrConnectWithoutTemplatesInput[];
    createMany?: Prisma.lists_templatesCreateManyTemplatesInputEnvelope;
    connect?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
};
export type lists_templatesUncheckedCreateNestedManyWithoutTemplatesInput = {
    create?: Prisma.XOR<Prisma.lists_templatesCreateWithoutTemplatesInput, Prisma.lists_templatesUncheckedCreateWithoutTemplatesInput> | Prisma.lists_templatesCreateWithoutTemplatesInput[] | Prisma.lists_templatesUncheckedCreateWithoutTemplatesInput[];
    connectOrCreate?: Prisma.lists_templatesCreateOrConnectWithoutTemplatesInput | Prisma.lists_templatesCreateOrConnectWithoutTemplatesInput[];
    createMany?: Prisma.lists_templatesCreateManyTemplatesInputEnvelope;
    connect?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
};
export type lists_templatesUpdateManyWithoutTemplatesNestedInput = {
    create?: Prisma.XOR<Prisma.lists_templatesCreateWithoutTemplatesInput, Prisma.lists_templatesUncheckedCreateWithoutTemplatesInput> | Prisma.lists_templatesCreateWithoutTemplatesInput[] | Prisma.lists_templatesUncheckedCreateWithoutTemplatesInput[];
    connectOrCreate?: Prisma.lists_templatesCreateOrConnectWithoutTemplatesInput | Prisma.lists_templatesCreateOrConnectWithoutTemplatesInput[];
    upsert?: Prisma.lists_templatesUpsertWithWhereUniqueWithoutTemplatesInput | Prisma.lists_templatesUpsertWithWhereUniqueWithoutTemplatesInput[];
    createMany?: Prisma.lists_templatesCreateManyTemplatesInputEnvelope;
    set?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
    disconnect?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
    delete?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
    connect?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
    update?: Prisma.lists_templatesUpdateWithWhereUniqueWithoutTemplatesInput | Prisma.lists_templatesUpdateWithWhereUniqueWithoutTemplatesInput[];
    updateMany?: Prisma.lists_templatesUpdateManyWithWhereWithoutTemplatesInput | Prisma.lists_templatesUpdateManyWithWhereWithoutTemplatesInput[];
    deleteMany?: Prisma.lists_templatesScalarWhereInput | Prisma.lists_templatesScalarWhereInput[];
};
export type lists_templatesUncheckedUpdateManyWithoutTemplatesNestedInput = {
    create?: Prisma.XOR<Prisma.lists_templatesCreateWithoutTemplatesInput, Prisma.lists_templatesUncheckedCreateWithoutTemplatesInput> | Prisma.lists_templatesCreateWithoutTemplatesInput[] | Prisma.lists_templatesUncheckedCreateWithoutTemplatesInput[];
    connectOrCreate?: Prisma.lists_templatesCreateOrConnectWithoutTemplatesInput | Prisma.lists_templatesCreateOrConnectWithoutTemplatesInput[];
    upsert?: Prisma.lists_templatesUpsertWithWhereUniqueWithoutTemplatesInput | Prisma.lists_templatesUpsertWithWhereUniqueWithoutTemplatesInput[];
    createMany?: Prisma.lists_templatesCreateManyTemplatesInputEnvelope;
    set?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
    disconnect?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
    delete?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
    connect?: Prisma.lists_templatesWhereUniqueInput | Prisma.lists_templatesWhereUniqueInput[];
    update?: Prisma.lists_templatesUpdateWithWhereUniqueWithoutTemplatesInput | Prisma.lists_templatesUpdateWithWhereUniqueWithoutTemplatesInput[];
    updateMany?: Prisma.lists_templatesUpdateManyWithWhereWithoutTemplatesInput | Prisma.lists_templatesUpdateManyWithWhereWithoutTemplatesInput[];
    deleteMany?: Prisma.lists_templatesScalarWhereInput | Prisma.lists_templatesScalarWhereInput[];
};
export type lists_templatesCreateWithoutListsInput = {
    templates?: Prisma.templatesCreateNestedOneWithoutLists_templatesInput;
};
export type lists_templatesUncheckedCreateWithoutListsInput = {
    id?: number;
    templates_id?: number | null;
};
export type lists_templatesCreateOrConnectWithoutListsInput = {
    where: Prisma.lists_templatesWhereUniqueInput;
    create: Prisma.XOR<Prisma.lists_templatesCreateWithoutListsInput, Prisma.lists_templatesUncheckedCreateWithoutListsInput>;
};
export type lists_templatesCreateManyListsInputEnvelope = {
    data: Prisma.lists_templatesCreateManyListsInput | Prisma.lists_templatesCreateManyListsInput[];
    skipDuplicates?: boolean;
};
export type lists_templatesUpsertWithWhereUniqueWithoutListsInput = {
    where: Prisma.lists_templatesWhereUniqueInput;
    update: Prisma.XOR<Prisma.lists_templatesUpdateWithoutListsInput, Prisma.lists_templatesUncheckedUpdateWithoutListsInput>;
    create: Prisma.XOR<Prisma.lists_templatesCreateWithoutListsInput, Prisma.lists_templatesUncheckedCreateWithoutListsInput>;
};
export type lists_templatesUpdateWithWhereUniqueWithoutListsInput = {
    where: Prisma.lists_templatesWhereUniqueInput;
    data: Prisma.XOR<Prisma.lists_templatesUpdateWithoutListsInput, Prisma.lists_templatesUncheckedUpdateWithoutListsInput>;
};
export type lists_templatesUpdateManyWithWhereWithoutListsInput = {
    where: Prisma.lists_templatesScalarWhereInput;
    data: Prisma.XOR<Prisma.lists_templatesUpdateManyMutationInput, Prisma.lists_templatesUncheckedUpdateManyWithoutListsInput>;
};
export type lists_templatesScalarWhereInput = {
    AND?: Prisma.lists_templatesScalarWhereInput | Prisma.lists_templatesScalarWhereInput[];
    OR?: Prisma.lists_templatesScalarWhereInput[];
    NOT?: Prisma.lists_templatesScalarWhereInput | Prisma.lists_templatesScalarWhereInput[];
    id?: Prisma.IntFilter<"lists_templates"> | number;
    lists_id?: Prisma.IntNullableFilter<"lists_templates"> | number | null;
    templates_id?: Prisma.IntNullableFilter<"lists_templates"> | number | null;
};
export type lists_templatesCreateWithoutTemplatesInput = {
    lists?: Prisma.listsCreateNestedOneWithoutLists_templatesInput;
};
export type lists_templatesUncheckedCreateWithoutTemplatesInput = {
    id?: number;
    lists_id?: number | null;
};
export type lists_templatesCreateOrConnectWithoutTemplatesInput = {
    where: Prisma.lists_templatesWhereUniqueInput;
    create: Prisma.XOR<Prisma.lists_templatesCreateWithoutTemplatesInput, Prisma.lists_templatesUncheckedCreateWithoutTemplatesInput>;
};
export type lists_templatesCreateManyTemplatesInputEnvelope = {
    data: Prisma.lists_templatesCreateManyTemplatesInput | Prisma.lists_templatesCreateManyTemplatesInput[];
    skipDuplicates?: boolean;
};
export type lists_templatesUpsertWithWhereUniqueWithoutTemplatesInput = {
    where: Prisma.lists_templatesWhereUniqueInput;
    update: Prisma.XOR<Prisma.lists_templatesUpdateWithoutTemplatesInput, Prisma.lists_templatesUncheckedUpdateWithoutTemplatesInput>;
    create: Prisma.XOR<Prisma.lists_templatesCreateWithoutTemplatesInput, Prisma.lists_templatesUncheckedCreateWithoutTemplatesInput>;
};
export type lists_templatesUpdateWithWhereUniqueWithoutTemplatesInput = {
    where: Prisma.lists_templatesWhereUniqueInput;
    data: Prisma.XOR<Prisma.lists_templatesUpdateWithoutTemplatesInput, Prisma.lists_templatesUncheckedUpdateWithoutTemplatesInput>;
};
export type lists_templatesUpdateManyWithWhereWithoutTemplatesInput = {
    where: Prisma.lists_templatesScalarWhereInput;
    data: Prisma.XOR<Prisma.lists_templatesUpdateManyMutationInput, Prisma.lists_templatesUncheckedUpdateManyWithoutTemplatesInput>;
};
export type lists_templatesCreateManyListsInput = {
    id?: number;
    templates_id?: number | null;
};
export type lists_templatesUpdateWithoutListsInput = {
    templates?: Prisma.templatesUpdateOneWithoutLists_templatesNestedInput;
};
export type lists_templatesUncheckedUpdateWithoutListsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    templates_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type lists_templatesUncheckedUpdateManyWithoutListsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    templates_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type lists_templatesCreateManyTemplatesInput = {
    id?: number;
    lists_id?: number | null;
};
export type lists_templatesUpdateWithoutTemplatesInput = {
    lists?: Prisma.listsUpdateOneWithoutLists_templatesNestedInput;
};
export type lists_templatesUncheckedUpdateWithoutTemplatesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    lists_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type lists_templatesUncheckedUpdateManyWithoutTemplatesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    lists_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type lists_templatesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    lists_id?: boolean;
    templates_id?: boolean;
    lists?: boolean | Prisma.lists_templates$listsArgs<ExtArgs>;
    templates?: boolean | Prisma.lists_templates$templatesArgs<ExtArgs>;
}, ExtArgs["result"]["lists_templates"]>;
export type lists_templatesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    lists_id?: boolean;
    templates_id?: boolean;
    lists?: boolean | Prisma.lists_templates$listsArgs<ExtArgs>;
    templates?: boolean | Prisma.lists_templates$templatesArgs<ExtArgs>;
}, ExtArgs["result"]["lists_templates"]>;
export type lists_templatesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    lists_id?: boolean;
    templates_id?: boolean;
    lists?: boolean | Prisma.lists_templates$listsArgs<ExtArgs>;
    templates?: boolean | Prisma.lists_templates$templatesArgs<ExtArgs>;
}, ExtArgs["result"]["lists_templates"]>;
export type lists_templatesSelectScalar = {
    id?: boolean;
    lists_id?: boolean;
    templates_id?: boolean;
};
export type lists_templatesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "lists_id" | "templates_id", ExtArgs["result"]["lists_templates"]>;
export type lists_templatesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    lists?: boolean | Prisma.lists_templates$listsArgs<ExtArgs>;
    templates?: boolean | Prisma.lists_templates$templatesArgs<ExtArgs>;
};
export type lists_templatesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    lists?: boolean | Prisma.lists_templates$listsArgs<ExtArgs>;
    templates?: boolean | Prisma.lists_templates$templatesArgs<ExtArgs>;
};
export type lists_templatesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    lists?: boolean | Prisma.lists_templates$listsArgs<ExtArgs>;
    templates?: boolean | Prisma.lists_templates$templatesArgs<ExtArgs>;
};
export type $lists_templatesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "lists_templates";
    objects: {
        lists: Prisma.$listsPayload<ExtArgs> | null;
        templates: Prisma.$templatesPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        lists_id: number | null;
        templates_id: number | null;
    }, ExtArgs["result"]["lists_templates"]>;
    composites: {};
};
export type lists_templatesGetPayload<S extends boolean | null | undefined | lists_templatesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$lists_templatesPayload, S>;
export type lists_templatesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<lists_templatesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Lists_templatesCountAggregateInputType | true;
};
export interface lists_templatesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['lists_templates'];
        meta: {
            name: 'lists_templates';
        };
    };
    /**
     * Find zero or one Lists_templates that matches the filter.
     * @param {lists_templatesFindUniqueArgs} args - Arguments to find a Lists_templates
     * @example
     * // Get one Lists_templates
     * const lists_templates = await prisma.lists_templates.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends lists_templatesFindUniqueArgs>(args: Prisma.SelectSubset<T, lists_templatesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__lists_templatesClient<runtime.Types.Result.GetResult<Prisma.$lists_templatesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Lists_templates that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {lists_templatesFindUniqueOrThrowArgs} args - Arguments to find a Lists_templates
     * @example
     * // Get one Lists_templates
     * const lists_templates = await prisma.lists_templates.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends lists_templatesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, lists_templatesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__lists_templatesClient<runtime.Types.Result.GetResult<Prisma.$lists_templatesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Lists_templates 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_templatesFindFirstArgs} args - Arguments to find a Lists_templates
     * @example
     * // Get one Lists_templates
     * const lists_templates = await prisma.lists_templates.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends lists_templatesFindFirstArgs>(args?: Prisma.SelectSubset<T, lists_templatesFindFirstArgs<ExtArgs>>): Prisma.Prisma__lists_templatesClient<runtime.Types.Result.GetResult<Prisma.$lists_templatesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Lists_templates 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_templatesFindFirstOrThrowArgs} args - Arguments to find a Lists_templates
     * @example
     * // Get one Lists_templates
     * const lists_templates = await prisma.lists_templates.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends lists_templatesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, lists_templatesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__lists_templatesClient<runtime.Types.Result.GetResult<Prisma.$lists_templatesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Lists_templates 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_templatesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Lists_templates
     * const lists_templates = await prisma.lists_templates.findMany()
     *
     * // Get first 10 Lists_templates
     * const lists_templates = await prisma.lists_templates.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const lists_templatesWithIdOnly = await prisma.lists_templates.findMany({ select: { id: true } })
     *
     */
    findMany<T extends lists_templatesFindManyArgs>(args?: Prisma.SelectSubset<T, lists_templatesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$lists_templatesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Lists_templates.
     * @param {lists_templatesCreateArgs} args - Arguments to create a Lists_templates.
     * @example
     * // Create one Lists_templates
     * const Lists_templates = await prisma.lists_templates.create({
     *   data: {
     *     // ... data to create a Lists_templates
     *   }
     * })
     *
     */
    create<T extends lists_templatesCreateArgs>(args: Prisma.SelectSubset<T, lists_templatesCreateArgs<ExtArgs>>): Prisma.Prisma__lists_templatesClient<runtime.Types.Result.GetResult<Prisma.$lists_templatesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Lists_templates.
     * @param {lists_templatesCreateManyArgs} args - Arguments to create many Lists_templates.
     * @example
     * // Create many Lists_templates
     * const lists_templates = await prisma.lists_templates.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends lists_templatesCreateManyArgs>(args?: Prisma.SelectSubset<T, lists_templatesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Lists_templates and returns the data saved in the database.
     * @param {lists_templatesCreateManyAndReturnArgs} args - Arguments to create many Lists_templates.
     * @example
     * // Create many Lists_templates
     * const lists_templates = await prisma.lists_templates.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Lists_templates and only return the `id`
     * const lists_templatesWithIdOnly = await prisma.lists_templates.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_templatesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, lists_templatesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$lists_templatesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Lists_templates.
     * @param {lists_templatesDeleteArgs} args - Arguments to delete one Lists_templates.
     * @example
     * // Delete one Lists_templates
     * const Lists_templates = await prisma.lists_templates.delete({
     *   where: {
     *     // ... filter to delete one Lists_templates
     *   }
     * })
     *
     */
    delete<T extends lists_templatesDeleteArgs>(args: Prisma.SelectSubset<T, lists_templatesDeleteArgs<ExtArgs>>): Prisma.Prisma__lists_templatesClient<runtime.Types.Result.GetResult<Prisma.$lists_templatesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Lists_templates.
     * @param {lists_templatesUpdateArgs} args - Arguments to update one Lists_templates.
     * @example
     * // Update one Lists_templates
     * const lists_templates = await prisma.lists_templates.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends lists_templatesUpdateArgs>(args: Prisma.SelectSubset<T, lists_templatesUpdateArgs<ExtArgs>>): Prisma.Prisma__lists_templatesClient<runtime.Types.Result.GetResult<Prisma.$lists_templatesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Lists_templates.
     * @param {lists_templatesDeleteManyArgs} args - Arguments to filter Lists_templates to delete.
     * @example
     * // Delete a few Lists_templates
     * const { count } = await prisma.lists_templates.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends lists_templatesDeleteManyArgs>(args?: Prisma.SelectSubset<T, lists_templatesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Lists_templates.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {lists_templatesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Lists_templates
     * const lists_templates = await prisma.lists_templates.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends lists_templatesUpdateManyArgs>(args: Prisma.SelectSubset<T, lists_templatesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Lists_templates and returns the data updated in the database.
     * @param {lists_templatesUpdateManyAndReturnArgs} args - Arguments to update many Lists_templates.
     * @example
     * // Update many Lists_templates
     * const lists_templates = await prisma.lists_templates.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Lists_templates and only return the `id`
     * const lists_templatesWithIdOnly = await prisma.lists_templates.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_templatesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, lists_templatesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$lists_templatesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Lists_templates.
     * @param {lists_templatesUpsertArgs} args - Arguments to update or create a Lists_templates.
     * @example
     * // Update or create a Lists_templates
     * const lists_templates = await prisma.lists_templates.upsert({
     *   create: {
     *     // ... data to create a Lists_templates
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Lists_templates we want to update
     *   }
     * })
     */
    upsert<T extends lists_templatesUpsertArgs>(args: Prisma.SelectSubset<T, lists_templatesUpsertArgs<ExtArgs>>): Prisma.Prisma__lists_templatesClient<runtime.Types.Result.GetResult<Prisma.$lists_templatesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Lists_templates.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {lists_templatesCountArgs} args - Arguments to filter Lists_templates to count.
     * @example
     * // Count the number of Lists_templates
     * const count = await prisma.lists_templates.count({
     *   where: {
     *     // ... the filter for the Lists_templates we want to count
     *   }
     * })
    **/
    count<T extends lists_templatesCountArgs>(args?: Prisma.Subset<T, lists_templatesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Lists_templatesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Lists_templates.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Lists_templatesAggregateArgs} 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_templatesAggregateArgs>(args: Prisma.Subset<T, Lists_templatesAggregateArgs>): Prisma.PrismaPromise<GetLists_templatesAggregateType<T>>;
    /**
     * Group by Lists_templates.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {lists_templatesGroupByArgs} 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_templatesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: lists_templatesGroupByArgs['orderBy'];
    } : {
        orderBy?: lists_templatesGroupByArgs['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_templatesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetLists_templatesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the lists_templates model
     */
    readonly fields: lists_templatesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for lists_templates.
 * 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_templatesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    lists<T extends Prisma.lists_templates$listsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.lists_templates$listsArgs<ExtArgs>>): Prisma.Prisma__listsClient<runtime.Types.Result.GetResult<Prisma.$listsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    templates<T extends Prisma.lists_templates$templatesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.lists_templates$templatesArgs<ExtArgs>>): Prisma.Prisma__templatesClient<runtime.Types.Result.GetResult<Prisma.$templatesPayload<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_templates model
 */
export interface lists_templatesFieldRefs {
    readonly id: Prisma.FieldRef<"lists_templates", 'Int'>;
    readonly lists_id: Prisma.FieldRef<"lists_templates", 'Int'>;
    readonly templates_id: Prisma.FieldRef<"lists_templates", 'Int'>;
}
/**
 * lists_templates findUnique
 */
export type lists_templatesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_templates
     */
    select?: Prisma.lists_templatesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_templates
     */
    omit?: Prisma.lists_templatesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_templatesInclude<ExtArgs> | null;
    /**
     * Filter, which lists_templates to fetch.
     */
    where: Prisma.lists_templatesWhereUniqueInput;
};
/**
 * lists_templates findUniqueOrThrow
 */
export type lists_templatesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_templates
     */
    select?: Prisma.lists_templatesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_templates
     */
    omit?: Prisma.lists_templatesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_templatesInclude<ExtArgs> | null;
    /**
     * Filter, which lists_templates to fetch.
     */
    where: Prisma.lists_templatesWhereUniqueInput;
};
/**
 * lists_templates findFirst
 */
export type lists_templatesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_templates
     */
    select?: Prisma.lists_templatesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_templates
     */
    omit?: Prisma.lists_templatesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_templatesInclude<ExtArgs> | null;
    /**
     * Filter, which lists_templates to fetch.
     */
    where?: Prisma.lists_templatesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of lists_templates to fetch.
     */
    orderBy?: Prisma.lists_templatesOrderByWithRelationInput | Prisma.lists_templatesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for lists_templates.
     */
    cursor?: Prisma.lists_templatesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` lists_templates 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_templates.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of lists_templates.
     */
    distinct?: Prisma.Lists_templatesScalarFieldEnum | Prisma.Lists_templatesScalarFieldEnum[];
};
/**
 * lists_templates findFirstOrThrow
 */
export type lists_templatesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_templates
     */
    select?: Prisma.lists_templatesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_templates
     */
    omit?: Prisma.lists_templatesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_templatesInclude<ExtArgs> | null;
    /**
     * Filter, which lists_templates to fetch.
     */
    where?: Prisma.lists_templatesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of lists_templates to fetch.
     */
    orderBy?: Prisma.lists_templatesOrderByWithRelationInput | Prisma.lists_templatesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for lists_templates.
     */
    cursor?: Prisma.lists_templatesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` lists_templates 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_templates.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of lists_templates.
     */
    distinct?: Prisma.Lists_templatesScalarFieldEnum | Prisma.Lists_templatesScalarFieldEnum[];
};
/**
 * lists_templates findMany
 */
export type lists_templatesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_templates
     */
    select?: Prisma.lists_templatesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_templates
     */
    omit?: Prisma.lists_templatesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_templatesInclude<ExtArgs> | null;
    /**
     * Filter, which lists_templates to fetch.
     */
    where?: Prisma.lists_templatesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of lists_templates to fetch.
     */
    orderBy?: Prisma.lists_templatesOrderByWithRelationInput | Prisma.lists_templatesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing lists_templates.
     */
    cursor?: Prisma.lists_templatesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` lists_templates 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_templates.
     */
    skip?: number;
    distinct?: Prisma.Lists_templatesScalarFieldEnum | Prisma.Lists_templatesScalarFieldEnum[];
};
/**
 * lists_templates create
 */
export type lists_templatesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_templates
     */
    select?: Prisma.lists_templatesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_templates
     */
    omit?: Prisma.lists_templatesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_templatesInclude<ExtArgs> | null;
    /**
     * The data needed to create a lists_templates.
     */
    data?: Prisma.XOR<Prisma.lists_templatesCreateInput, Prisma.lists_templatesUncheckedCreateInput>;
};
/**
 * lists_templates createMany
 */
export type lists_templatesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many lists_templates.
     */
    data: Prisma.lists_templatesCreateManyInput | Prisma.lists_templatesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * lists_templates createManyAndReturn
 */
export type lists_templatesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_templates
     */
    select?: Prisma.lists_templatesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_templates
     */
    omit?: Prisma.lists_templatesOmit<ExtArgs> | null;
    /**
     * The data used to create many lists_templates.
     */
    data: Prisma.lists_templatesCreateManyInput | Prisma.lists_templatesCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_templatesIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * lists_templates update
 */
export type lists_templatesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_templates
     */
    select?: Prisma.lists_templatesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_templates
     */
    omit?: Prisma.lists_templatesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_templatesInclude<ExtArgs> | null;
    /**
     * The data needed to update a lists_templates.
     */
    data: Prisma.XOR<Prisma.lists_templatesUpdateInput, Prisma.lists_templatesUncheckedUpdateInput>;
    /**
     * Choose, which lists_templates to update.
     */
    where: Prisma.lists_templatesWhereUniqueInput;
};
/**
 * lists_templates updateMany
 */
export type lists_templatesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update lists_templates.
     */
    data: Prisma.XOR<Prisma.lists_templatesUpdateManyMutationInput, Prisma.lists_templatesUncheckedUpdateManyInput>;
    /**
     * Filter which lists_templates to update
     */
    where?: Prisma.lists_templatesWhereInput;
    /**
     * Limit how many lists_templates to update.
     */
    limit?: number;
};
/**
 * lists_templates updateManyAndReturn
 */
export type lists_templatesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_templates
     */
    select?: Prisma.lists_templatesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_templates
     */
    omit?: Prisma.lists_templatesOmit<ExtArgs> | null;
    /**
     * The data used to update lists_templates.
     */
    data: Prisma.XOR<Prisma.lists_templatesUpdateManyMutationInput, Prisma.lists_templatesUncheckedUpdateManyInput>;
    /**
     * Filter which lists_templates to update
     */
    where?: Prisma.lists_templatesWhereInput;
    /**
     * Limit how many lists_templates to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_templatesIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * lists_templates upsert
 */
export type lists_templatesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_templates
     */
    select?: Prisma.lists_templatesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_templates
     */
    omit?: Prisma.lists_templatesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_templatesInclude<ExtArgs> | null;
    /**
     * The filter to search for the lists_templates to update in case it exists.
     */
    where: Prisma.lists_templatesWhereUniqueInput;
    /**
     * In case the lists_templates found by the `where` argument doesn't exist, create a new lists_templates with this data.
     */
    create: Prisma.XOR<Prisma.lists_templatesCreateInput, Prisma.lists_templatesUncheckedCreateInput>;
    /**
     * In case the lists_templates was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.lists_templatesUpdateInput, Prisma.lists_templatesUncheckedUpdateInput>;
};
/**
 * lists_templates delete
 */
export type lists_templatesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_templates
     */
    select?: Prisma.lists_templatesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_templates
     */
    omit?: Prisma.lists_templatesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_templatesInclude<ExtArgs> | null;
    /**
     * Filter which lists_templates to delete.
     */
    where: Prisma.lists_templatesWhereUniqueInput;
};
/**
 * lists_templates deleteMany
 */
export type lists_templatesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which lists_templates to delete
     */
    where?: Prisma.lists_templatesWhereInput;
    /**
     * Limit how many lists_templates to delete.
     */
    limit?: number;
};
/**
 * lists_templates.lists
 */
export type lists_templates$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_templates.templates
 */
export type lists_templates$templatesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the templates
     */
    select?: Prisma.templatesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the templates
     */
    omit?: Prisma.templatesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.templatesInclude<ExtArgs> | null;
    where?: Prisma.templatesWhereInput;
};
/**
 * lists_templates without action
 */
export type lists_templatesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_templates
     */
    select?: Prisma.lists_templatesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_templates
     */
    omit?: Prisma.lists_templatesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_templatesInclude<ExtArgs> | null;
};
export {};
