import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model user_friends_posts
 * 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 user_friends_postsModel = runtime.Types.Result.DefaultSelection<Prisma.$user_friends_postsPayload>;
export type AggregateUser_friends_posts = {
    _count: User_friends_postsCountAggregateOutputType | null;
    _avg: User_friends_postsAvgAggregateOutputType | null;
    _sum: User_friends_postsSumAggregateOutputType | null;
    _min: User_friends_postsMinAggregateOutputType | null;
    _max: User_friends_postsMaxAggregateOutputType | null;
};
export type User_friends_postsAvgAggregateOutputType = {
    id: number | null;
    user_friends_id: number | null;
    posts_id: number | null;
};
export type User_friends_postsSumAggregateOutputType = {
    id: number | null;
    user_friends_id: number | null;
    posts_id: number | null;
};
export type User_friends_postsMinAggregateOutputType = {
    id: number | null;
    user_friends_id: number | null;
    posts_id: number | null;
};
export type User_friends_postsMaxAggregateOutputType = {
    id: number | null;
    user_friends_id: number | null;
    posts_id: number | null;
};
export type User_friends_postsCountAggregateOutputType = {
    id: number;
    user_friends_id: number;
    posts_id: number;
    _all: number;
};
export type User_friends_postsAvgAggregateInputType = {
    id?: true;
    user_friends_id?: true;
    posts_id?: true;
};
export type User_friends_postsSumAggregateInputType = {
    id?: true;
    user_friends_id?: true;
    posts_id?: true;
};
export type User_friends_postsMinAggregateInputType = {
    id?: true;
    user_friends_id?: true;
    posts_id?: true;
};
export type User_friends_postsMaxAggregateInputType = {
    id?: true;
    user_friends_id?: true;
    posts_id?: true;
};
export type User_friends_postsCountAggregateInputType = {
    id?: true;
    user_friends_id?: true;
    posts_id?: true;
    _all?: true;
};
export type User_friends_postsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which user_friends_posts to aggregate.
     */
    where?: Prisma.user_friends_postsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of user_friends_posts to fetch.
     */
    orderBy?: Prisma.user_friends_postsOrderByWithRelationInput | Prisma.user_friends_postsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.user_friends_postsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` user_friends_posts 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` user_friends_posts.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned user_friends_posts
    **/
    _count?: true | User_friends_postsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: User_friends_postsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: User_friends_postsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: User_friends_postsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: User_friends_postsMaxAggregateInputType;
};
export type GetUser_friends_postsAggregateType<T extends User_friends_postsAggregateArgs> = {
    [P in keyof T & keyof AggregateUser_friends_posts]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateUser_friends_posts[P]> : Prisma.GetScalarType<T[P], AggregateUser_friends_posts[P]>;
};
export type user_friends_postsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.user_friends_postsWhereInput;
    orderBy?: Prisma.user_friends_postsOrderByWithAggregationInput | Prisma.user_friends_postsOrderByWithAggregationInput[];
    by: Prisma.User_friends_postsScalarFieldEnum[] | Prisma.User_friends_postsScalarFieldEnum;
    having?: Prisma.user_friends_postsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: User_friends_postsCountAggregateInputType | true;
    _avg?: User_friends_postsAvgAggregateInputType;
    _sum?: User_friends_postsSumAggregateInputType;
    _min?: User_friends_postsMinAggregateInputType;
    _max?: User_friends_postsMaxAggregateInputType;
};
export type User_friends_postsGroupByOutputType = {
    id: number;
    user_friends_id: number | null;
    posts_id: number | null;
    _count: User_friends_postsCountAggregateOutputType | null;
    _avg: User_friends_postsAvgAggregateOutputType | null;
    _sum: User_friends_postsSumAggregateOutputType | null;
    _min: User_friends_postsMinAggregateOutputType | null;
    _max: User_friends_postsMaxAggregateOutputType | null;
};
type GetUser_friends_postsGroupByPayload<T extends user_friends_postsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<User_friends_postsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof User_friends_postsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], User_friends_postsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], User_friends_postsGroupByOutputType[P]>;
}>>;
export type user_friends_postsWhereInput = {
    AND?: Prisma.user_friends_postsWhereInput | Prisma.user_friends_postsWhereInput[];
    OR?: Prisma.user_friends_postsWhereInput[];
    NOT?: Prisma.user_friends_postsWhereInput | Prisma.user_friends_postsWhereInput[];
    id?: Prisma.IntFilter<"user_friends_posts"> | number;
    user_friends_id?: Prisma.IntNullableFilter<"user_friends_posts"> | number | null;
    posts_id?: Prisma.IntNullableFilter<"user_friends_posts"> | number | null;
    posts?: Prisma.XOR<Prisma.PostsNullableScalarRelationFilter, Prisma.postsWhereInput> | null;
    user_friends?: Prisma.XOR<Prisma.User_friendsNullableScalarRelationFilter, Prisma.user_friendsWhereInput> | null;
};
export type user_friends_postsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    user_friends_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    posts_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    posts?: Prisma.postsOrderByWithRelationInput;
    user_friends?: Prisma.user_friendsOrderByWithRelationInput;
};
export type user_friends_postsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.user_friends_postsWhereInput | Prisma.user_friends_postsWhereInput[];
    OR?: Prisma.user_friends_postsWhereInput[];
    NOT?: Prisma.user_friends_postsWhereInput | Prisma.user_friends_postsWhereInput[];
    user_friends_id?: Prisma.IntNullableFilter<"user_friends_posts"> | number | null;
    posts_id?: Prisma.IntNullableFilter<"user_friends_posts"> | number | null;
    posts?: Prisma.XOR<Prisma.PostsNullableScalarRelationFilter, Prisma.postsWhereInput> | null;
    user_friends?: Prisma.XOR<Prisma.User_friendsNullableScalarRelationFilter, Prisma.user_friendsWhereInput> | null;
}, "id">;
export type user_friends_postsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    user_friends_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    posts_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.user_friends_postsCountOrderByAggregateInput;
    _avg?: Prisma.user_friends_postsAvgOrderByAggregateInput;
    _max?: Prisma.user_friends_postsMaxOrderByAggregateInput;
    _min?: Prisma.user_friends_postsMinOrderByAggregateInput;
    _sum?: Prisma.user_friends_postsSumOrderByAggregateInput;
};
export type user_friends_postsScalarWhereWithAggregatesInput = {
    AND?: Prisma.user_friends_postsScalarWhereWithAggregatesInput | Prisma.user_friends_postsScalarWhereWithAggregatesInput[];
    OR?: Prisma.user_friends_postsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.user_friends_postsScalarWhereWithAggregatesInput | Prisma.user_friends_postsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"user_friends_posts"> | number;
    user_friends_id?: Prisma.IntNullableWithAggregatesFilter<"user_friends_posts"> | number | null;
    posts_id?: Prisma.IntNullableWithAggregatesFilter<"user_friends_posts"> | number | null;
};
export type user_friends_postsCreateInput = {
    posts?: Prisma.postsCreateNestedOneWithoutUser_friends_postsInput;
    user_friends?: Prisma.user_friendsCreateNestedOneWithoutUser_friends_postsInput;
};
export type user_friends_postsUncheckedCreateInput = {
    id?: number;
    user_friends_id?: number | null;
    posts_id?: number | null;
};
export type user_friends_postsUpdateInput = {
    posts?: Prisma.postsUpdateOneWithoutUser_friends_postsNestedInput;
    user_friends?: Prisma.user_friendsUpdateOneWithoutUser_friends_postsNestedInput;
};
export type user_friends_postsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    user_friends_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    posts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type user_friends_postsCreateManyInput = {
    id?: number;
    user_friends_id?: number | null;
    posts_id?: number | null;
};
export type user_friends_postsUpdateManyMutationInput = {};
export type user_friends_postsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    user_friends_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    posts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type User_friends_postsListRelationFilter = {
    every?: Prisma.user_friends_postsWhereInput;
    some?: Prisma.user_friends_postsWhereInput;
    none?: Prisma.user_friends_postsWhereInput;
};
export type user_friends_postsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type user_friends_postsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    user_friends_id?: Prisma.SortOrder;
    posts_id?: Prisma.SortOrder;
};
export type user_friends_postsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    user_friends_id?: Prisma.SortOrder;
    posts_id?: Prisma.SortOrder;
};
export type user_friends_postsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    user_friends_id?: Prisma.SortOrder;
    posts_id?: Prisma.SortOrder;
};
export type user_friends_postsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    user_friends_id?: Prisma.SortOrder;
    posts_id?: Prisma.SortOrder;
};
export type user_friends_postsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    user_friends_id?: Prisma.SortOrder;
    posts_id?: Prisma.SortOrder;
};
export type user_friends_postsCreateNestedManyWithoutPostsInput = {
    create?: Prisma.XOR<Prisma.user_friends_postsCreateWithoutPostsInput, Prisma.user_friends_postsUncheckedCreateWithoutPostsInput> | Prisma.user_friends_postsCreateWithoutPostsInput[] | Prisma.user_friends_postsUncheckedCreateWithoutPostsInput[];
    connectOrCreate?: Prisma.user_friends_postsCreateOrConnectWithoutPostsInput | Prisma.user_friends_postsCreateOrConnectWithoutPostsInput[];
    createMany?: Prisma.user_friends_postsCreateManyPostsInputEnvelope;
    connect?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
};
export type user_friends_postsUncheckedCreateNestedManyWithoutPostsInput = {
    create?: Prisma.XOR<Prisma.user_friends_postsCreateWithoutPostsInput, Prisma.user_friends_postsUncheckedCreateWithoutPostsInput> | Prisma.user_friends_postsCreateWithoutPostsInput[] | Prisma.user_friends_postsUncheckedCreateWithoutPostsInput[];
    connectOrCreate?: Prisma.user_friends_postsCreateOrConnectWithoutPostsInput | Prisma.user_friends_postsCreateOrConnectWithoutPostsInput[];
    createMany?: Prisma.user_friends_postsCreateManyPostsInputEnvelope;
    connect?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
};
export type user_friends_postsUpdateManyWithoutPostsNestedInput = {
    create?: Prisma.XOR<Prisma.user_friends_postsCreateWithoutPostsInput, Prisma.user_friends_postsUncheckedCreateWithoutPostsInput> | Prisma.user_friends_postsCreateWithoutPostsInput[] | Prisma.user_friends_postsUncheckedCreateWithoutPostsInput[];
    connectOrCreate?: Prisma.user_friends_postsCreateOrConnectWithoutPostsInput | Prisma.user_friends_postsCreateOrConnectWithoutPostsInput[];
    upsert?: Prisma.user_friends_postsUpsertWithWhereUniqueWithoutPostsInput | Prisma.user_friends_postsUpsertWithWhereUniqueWithoutPostsInput[];
    createMany?: Prisma.user_friends_postsCreateManyPostsInputEnvelope;
    set?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
    disconnect?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
    delete?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
    connect?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
    update?: Prisma.user_friends_postsUpdateWithWhereUniqueWithoutPostsInput | Prisma.user_friends_postsUpdateWithWhereUniqueWithoutPostsInput[];
    updateMany?: Prisma.user_friends_postsUpdateManyWithWhereWithoutPostsInput | Prisma.user_friends_postsUpdateManyWithWhereWithoutPostsInput[];
    deleteMany?: Prisma.user_friends_postsScalarWhereInput | Prisma.user_friends_postsScalarWhereInput[];
};
export type user_friends_postsUncheckedUpdateManyWithoutPostsNestedInput = {
    create?: Prisma.XOR<Prisma.user_friends_postsCreateWithoutPostsInput, Prisma.user_friends_postsUncheckedCreateWithoutPostsInput> | Prisma.user_friends_postsCreateWithoutPostsInput[] | Prisma.user_friends_postsUncheckedCreateWithoutPostsInput[];
    connectOrCreate?: Prisma.user_friends_postsCreateOrConnectWithoutPostsInput | Prisma.user_friends_postsCreateOrConnectWithoutPostsInput[];
    upsert?: Prisma.user_friends_postsUpsertWithWhereUniqueWithoutPostsInput | Prisma.user_friends_postsUpsertWithWhereUniqueWithoutPostsInput[];
    createMany?: Prisma.user_friends_postsCreateManyPostsInputEnvelope;
    set?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
    disconnect?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
    delete?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
    connect?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
    update?: Prisma.user_friends_postsUpdateWithWhereUniqueWithoutPostsInput | Prisma.user_friends_postsUpdateWithWhereUniqueWithoutPostsInput[];
    updateMany?: Prisma.user_friends_postsUpdateManyWithWhereWithoutPostsInput | Prisma.user_friends_postsUpdateManyWithWhereWithoutPostsInput[];
    deleteMany?: Prisma.user_friends_postsScalarWhereInput | Prisma.user_friends_postsScalarWhereInput[];
};
export type user_friends_postsCreateNestedManyWithoutUser_friendsInput = {
    create?: Prisma.XOR<Prisma.user_friends_postsCreateWithoutUser_friendsInput, Prisma.user_friends_postsUncheckedCreateWithoutUser_friendsInput> | Prisma.user_friends_postsCreateWithoutUser_friendsInput[] | Prisma.user_friends_postsUncheckedCreateWithoutUser_friendsInput[];
    connectOrCreate?: Prisma.user_friends_postsCreateOrConnectWithoutUser_friendsInput | Prisma.user_friends_postsCreateOrConnectWithoutUser_friendsInput[];
    createMany?: Prisma.user_friends_postsCreateManyUser_friendsInputEnvelope;
    connect?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
};
export type user_friends_postsUncheckedCreateNestedManyWithoutUser_friendsInput = {
    create?: Prisma.XOR<Prisma.user_friends_postsCreateWithoutUser_friendsInput, Prisma.user_friends_postsUncheckedCreateWithoutUser_friendsInput> | Prisma.user_friends_postsCreateWithoutUser_friendsInput[] | Prisma.user_friends_postsUncheckedCreateWithoutUser_friendsInput[];
    connectOrCreate?: Prisma.user_friends_postsCreateOrConnectWithoutUser_friendsInput | Prisma.user_friends_postsCreateOrConnectWithoutUser_friendsInput[];
    createMany?: Prisma.user_friends_postsCreateManyUser_friendsInputEnvelope;
    connect?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
};
export type user_friends_postsUpdateManyWithoutUser_friendsNestedInput = {
    create?: Prisma.XOR<Prisma.user_friends_postsCreateWithoutUser_friendsInput, Prisma.user_friends_postsUncheckedCreateWithoutUser_friendsInput> | Prisma.user_friends_postsCreateWithoutUser_friendsInput[] | Prisma.user_friends_postsUncheckedCreateWithoutUser_friendsInput[];
    connectOrCreate?: Prisma.user_friends_postsCreateOrConnectWithoutUser_friendsInput | Prisma.user_friends_postsCreateOrConnectWithoutUser_friendsInput[];
    upsert?: Prisma.user_friends_postsUpsertWithWhereUniqueWithoutUser_friendsInput | Prisma.user_friends_postsUpsertWithWhereUniqueWithoutUser_friendsInput[];
    createMany?: Prisma.user_friends_postsCreateManyUser_friendsInputEnvelope;
    set?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
    disconnect?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
    delete?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
    connect?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
    update?: Prisma.user_friends_postsUpdateWithWhereUniqueWithoutUser_friendsInput | Prisma.user_friends_postsUpdateWithWhereUniqueWithoutUser_friendsInput[];
    updateMany?: Prisma.user_friends_postsUpdateManyWithWhereWithoutUser_friendsInput | Prisma.user_friends_postsUpdateManyWithWhereWithoutUser_friendsInput[];
    deleteMany?: Prisma.user_friends_postsScalarWhereInput | Prisma.user_friends_postsScalarWhereInput[];
};
export type user_friends_postsUncheckedUpdateManyWithoutUser_friendsNestedInput = {
    create?: Prisma.XOR<Prisma.user_friends_postsCreateWithoutUser_friendsInput, Prisma.user_friends_postsUncheckedCreateWithoutUser_friendsInput> | Prisma.user_friends_postsCreateWithoutUser_friendsInput[] | Prisma.user_friends_postsUncheckedCreateWithoutUser_friendsInput[];
    connectOrCreate?: Prisma.user_friends_postsCreateOrConnectWithoutUser_friendsInput | Prisma.user_friends_postsCreateOrConnectWithoutUser_friendsInput[];
    upsert?: Prisma.user_friends_postsUpsertWithWhereUniqueWithoutUser_friendsInput | Prisma.user_friends_postsUpsertWithWhereUniqueWithoutUser_friendsInput[];
    createMany?: Prisma.user_friends_postsCreateManyUser_friendsInputEnvelope;
    set?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
    disconnect?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
    delete?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
    connect?: Prisma.user_friends_postsWhereUniqueInput | Prisma.user_friends_postsWhereUniqueInput[];
    update?: Prisma.user_friends_postsUpdateWithWhereUniqueWithoutUser_friendsInput | Prisma.user_friends_postsUpdateWithWhereUniqueWithoutUser_friendsInput[];
    updateMany?: Prisma.user_friends_postsUpdateManyWithWhereWithoutUser_friendsInput | Prisma.user_friends_postsUpdateManyWithWhereWithoutUser_friendsInput[];
    deleteMany?: Prisma.user_friends_postsScalarWhereInput | Prisma.user_friends_postsScalarWhereInput[];
};
export type user_friends_postsCreateWithoutPostsInput = {
    user_friends?: Prisma.user_friendsCreateNestedOneWithoutUser_friends_postsInput;
};
export type user_friends_postsUncheckedCreateWithoutPostsInput = {
    id?: number;
    user_friends_id?: number | null;
};
export type user_friends_postsCreateOrConnectWithoutPostsInput = {
    where: Prisma.user_friends_postsWhereUniqueInput;
    create: Prisma.XOR<Prisma.user_friends_postsCreateWithoutPostsInput, Prisma.user_friends_postsUncheckedCreateWithoutPostsInput>;
};
export type user_friends_postsCreateManyPostsInputEnvelope = {
    data: Prisma.user_friends_postsCreateManyPostsInput | Prisma.user_friends_postsCreateManyPostsInput[];
    skipDuplicates?: boolean;
};
export type user_friends_postsUpsertWithWhereUniqueWithoutPostsInput = {
    where: Prisma.user_friends_postsWhereUniqueInput;
    update: Prisma.XOR<Prisma.user_friends_postsUpdateWithoutPostsInput, Prisma.user_friends_postsUncheckedUpdateWithoutPostsInput>;
    create: Prisma.XOR<Prisma.user_friends_postsCreateWithoutPostsInput, Prisma.user_friends_postsUncheckedCreateWithoutPostsInput>;
};
export type user_friends_postsUpdateWithWhereUniqueWithoutPostsInput = {
    where: Prisma.user_friends_postsWhereUniqueInput;
    data: Prisma.XOR<Prisma.user_friends_postsUpdateWithoutPostsInput, Prisma.user_friends_postsUncheckedUpdateWithoutPostsInput>;
};
export type user_friends_postsUpdateManyWithWhereWithoutPostsInput = {
    where: Prisma.user_friends_postsScalarWhereInput;
    data: Prisma.XOR<Prisma.user_friends_postsUpdateManyMutationInput, Prisma.user_friends_postsUncheckedUpdateManyWithoutPostsInput>;
};
export type user_friends_postsScalarWhereInput = {
    AND?: Prisma.user_friends_postsScalarWhereInput | Prisma.user_friends_postsScalarWhereInput[];
    OR?: Prisma.user_friends_postsScalarWhereInput[];
    NOT?: Prisma.user_friends_postsScalarWhereInput | Prisma.user_friends_postsScalarWhereInput[];
    id?: Prisma.IntFilter<"user_friends_posts"> | number;
    user_friends_id?: Prisma.IntNullableFilter<"user_friends_posts"> | number | null;
    posts_id?: Prisma.IntNullableFilter<"user_friends_posts"> | number | null;
};
export type user_friends_postsCreateWithoutUser_friendsInput = {
    posts?: Prisma.postsCreateNestedOneWithoutUser_friends_postsInput;
};
export type user_friends_postsUncheckedCreateWithoutUser_friendsInput = {
    id?: number;
    posts_id?: number | null;
};
export type user_friends_postsCreateOrConnectWithoutUser_friendsInput = {
    where: Prisma.user_friends_postsWhereUniqueInput;
    create: Prisma.XOR<Prisma.user_friends_postsCreateWithoutUser_friendsInput, Prisma.user_friends_postsUncheckedCreateWithoutUser_friendsInput>;
};
export type user_friends_postsCreateManyUser_friendsInputEnvelope = {
    data: Prisma.user_friends_postsCreateManyUser_friendsInput | Prisma.user_friends_postsCreateManyUser_friendsInput[];
    skipDuplicates?: boolean;
};
export type user_friends_postsUpsertWithWhereUniqueWithoutUser_friendsInput = {
    where: Prisma.user_friends_postsWhereUniqueInput;
    update: Prisma.XOR<Prisma.user_friends_postsUpdateWithoutUser_friendsInput, Prisma.user_friends_postsUncheckedUpdateWithoutUser_friendsInput>;
    create: Prisma.XOR<Prisma.user_friends_postsCreateWithoutUser_friendsInput, Prisma.user_friends_postsUncheckedCreateWithoutUser_friendsInput>;
};
export type user_friends_postsUpdateWithWhereUniqueWithoutUser_friendsInput = {
    where: Prisma.user_friends_postsWhereUniqueInput;
    data: Prisma.XOR<Prisma.user_friends_postsUpdateWithoutUser_friendsInput, Prisma.user_friends_postsUncheckedUpdateWithoutUser_friendsInput>;
};
export type user_friends_postsUpdateManyWithWhereWithoutUser_friendsInput = {
    where: Prisma.user_friends_postsScalarWhereInput;
    data: Prisma.XOR<Prisma.user_friends_postsUpdateManyMutationInput, Prisma.user_friends_postsUncheckedUpdateManyWithoutUser_friendsInput>;
};
export type user_friends_postsCreateManyPostsInput = {
    id?: number;
    user_friends_id?: number | null;
};
export type user_friends_postsUpdateWithoutPostsInput = {
    user_friends?: Prisma.user_friendsUpdateOneWithoutUser_friends_postsNestedInput;
};
export type user_friends_postsUncheckedUpdateWithoutPostsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    user_friends_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type user_friends_postsUncheckedUpdateManyWithoutPostsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    user_friends_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type user_friends_postsCreateManyUser_friendsInput = {
    id?: number;
    posts_id?: number | null;
};
export type user_friends_postsUpdateWithoutUser_friendsInput = {
    posts?: Prisma.postsUpdateOneWithoutUser_friends_postsNestedInput;
};
export type user_friends_postsUncheckedUpdateWithoutUser_friendsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    posts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type user_friends_postsUncheckedUpdateManyWithoutUser_friendsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    posts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type user_friends_postsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    user_friends_id?: boolean;
    posts_id?: boolean;
    posts?: boolean | Prisma.user_friends_posts$postsArgs<ExtArgs>;
    user_friends?: boolean | Prisma.user_friends_posts$user_friendsArgs<ExtArgs>;
}, ExtArgs["result"]["user_friends_posts"]>;
export type user_friends_postsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    user_friends_id?: boolean;
    posts_id?: boolean;
    posts?: boolean | Prisma.user_friends_posts$postsArgs<ExtArgs>;
    user_friends?: boolean | Prisma.user_friends_posts$user_friendsArgs<ExtArgs>;
}, ExtArgs["result"]["user_friends_posts"]>;
export type user_friends_postsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    user_friends_id?: boolean;
    posts_id?: boolean;
    posts?: boolean | Prisma.user_friends_posts$postsArgs<ExtArgs>;
    user_friends?: boolean | Prisma.user_friends_posts$user_friendsArgs<ExtArgs>;
}, ExtArgs["result"]["user_friends_posts"]>;
export type user_friends_postsSelectScalar = {
    id?: boolean;
    user_friends_id?: boolean;
    posts_id?: boolean;
};
export type user_friends_postsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "user_friends_id" | "posts_id", ExtArgs["result"]["user_friends_posts"]>;
export type user_friends_postsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    posts?: boolean | Prisma.user_friends_posts$postsArgs<ExtArgs>;
    user_friends?: boolean | Prisma.user_friends_posts$user_friendsArgs<ExtArgs>;
};
export type user_friends_postsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    posts?: boolean | Prisma.user_friends_posts$postsArgs<ExtArgs>;
    user_friends?: boolean | Prisma.user_friends_posts$user_friendsArgs<ExtArgs>;
};
export type user_friends_postsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    posts?: boolean | Prisma.user_friends_posts$postsArgs<ExtArgs>;
    user_friends?: boolean | Prisma.user_friends_posts$user_friendsArgs<ExtArgs>;
};
export type $user_friends_postsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "user_friends_posts";
    objects: {
        posts: Prisma.$postsPayload<ExtArgs> | null;
        user_friends: Prisma.$user_friendsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        user_friends_id: number | null;
        posts_id: number | null;
    }, ExtArgs["result"]["user_friends_posts"]>;
    composites: {};
};
export type user_friends_postsGetPayload<S extends boolean | null | undefined | user_friends_postsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$user_friends_postsPayload, S>;
export type user_friends_postsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<user_friends_postsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: User_friends_postsCountAggregateInputType | true;
};
export interface user_friends_postsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['user_friends_posts'];
        meta: {
            name: 'user_friends_posts';
        };
    };
    /**
     * Find zero or one User_friends_posts that matches the filter.
     * @param {user_friends_postsFindUniqueArgs} args - Arguments to find a User_friends_posts
     * @example
     * // Get one User_friends_posts
     * const user_friends_posts = await prisma.user_friends_posts.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends user_friends_postsFindUniqueArgs>(args: Prisma.SelectSubset<T, user_friends_postsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__user_friends_postsClient<runtime.Types.Result.GetResult<Prisma.$user_friends_postsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one User_friends_posts that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {user_friends_postsFindUniqueOrThrowArgs} args - Arguments to find a User_friends_posts
     * @example
     * // Get one User_friends_posts
     * const user_friends_posts = await prisma.user_friends_posts.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends user_friends_postsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, user_friends_postsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__user_friends_postsClient<runtime.Types.Result.GetResult<Prisma.$user_friends_postsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first User_friends_posts 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 {user_friends_postsFindFirstArgs} args - Arguments to find a User_friends_posts
     * @example
     * // Get one User_friends_posts
     * const user_friends_posts = await prisma.user_friends_posts.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends user_friends_postsFindFirstArgs>(args?: Prisma.SelectSubset<T, user_friends_postsFindFirstArgs<ExtArgs>>): Prisma.Prisma__user_friends_postsClient<runtime.Types.Result.GetResult<Prisma.$user_friends_postsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first User_friends_posts 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 {user_friends_postsFindFirstOrThrowArgs} args - Arguments to find a User_friends_posts
     * @example
     * // Get one User_friends_posts
     * const user_friends_posts = await prisma.user_friends_posts.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends user_friends_postsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, user_friends_postsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__user_friends_postsClient<runtime.Types.Result.GetResult<Prisma.$user_friends_postsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more User_friends_posts 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 {user_friends_postsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all User_friends_posts
     * const user_friends_posts = await prisma.user_friends_posts.findMany()
     *
     * // Get first 10 User_friends_posts
     * const user_friends_posts = await prisma.user_friends_posts.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const user_friends_postsWithIdOnly = await prisma.user_friends_posts.findMany({ select: { id: true } })
     *
     */
    findMany<T extends user_friends_postsFindManyArgs>(args?: Prisma.SelectSubset<T, user_friends_postsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$user_friends_postsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a User_friends_posts.
     * @param {user_friends_postsCreateArgs} args - Arguments to create a User_friends_posts.
     * @example
     * // Create one User_friends_posts
     * const User_friends_posts = await prisma.user_friends_posts.create({
     *   data: {
     *     // ... data to create a User_friends_posts
     *   }
     * })
     *
     */
    create<T extends user_friends_postsCreateArgs>(args: Prisma.SelectSubset<T, user_friends_postsCreateArgs<ExtArgs>>): Prisma.Prisma__user_friends_postsClient<runtime.Types.Result.GetResult<Prisma.$user_friends_postsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many User_friends_posts.
     * @param {user_friends_postsCreateManyArgs} args - Arguments to create many User_friends_posts.
     * @example
     * // Create many User_friends_posts
     * const user_friends_posts = await prisma.user_friends_posts.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends user_friends_postsCreateManyArgs>(args?: Prisma.SelectSubset<T, user_friends_postsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many User_friends_posts and returns the data saved in the database.
     * @param {user_friends_postsCreateManyAndReturnArgs} args - Arguments to create many User_friends_posts.
     * @example
     * // Create many User_friends_posts
     * const user_friends_posts = await prisma.user_friends_posts.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many User_friends_posts and only return the `id`
     * const user_friends_postsWithIdOnly = await prisma.user_friends_posts.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 user_friends_postsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, user_friends_postsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$user_friends_postsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a User_friends_posts.
     * @param {user_friends_postsDeleteArgs} args - Arguments to delete one User_friends_posts.
     * @example
     * // Delete one User_friends_posts
     * const User_friends_posts = await prisma.user_friends_posts.delete({
     *   where: {
     *     // ... filter to delete one User_friends_posts
     *   }
     * })
     *
     */
    delete<T extends user_friends_postsDeleteArgs>(args: Prisma.SelectSubset<T, user_friends_postsDeleteArgs<ExtArgs>>): Prisma.Prisma__user_friends_postsClient<runtime.Types.Result.GetResult<Prisma.$user_friends_postsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one User_friends_posts.
     * @param {user_friends_postsUpdateArgs} args - Arguments to update one User_friends_posts.
     * @example
     * // Update one User_friends_posts
     * const user_friends_posts = await prisma.user_friends_posts.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends user_friends_postsUpdateArgs>(args: Prisma.SelectSubset<T, user_friends_postsUpdateArgs<ExtArgs>>): Prisma.Prisma__user_friends_postsClient<runtime.Types.Result.GetResult<Prisma.$user_friends_postsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more User_friends_posts.
     * @param {user_friends_postsDeleteManyArgs} args - Arguments to filter User_friends_posts to delete.
     * @example
     * // Delete a few User_friends_posts
     * const { count } = await prisma.user_friends_posts.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends user_friends_postsDeleteManyArgs>(args?: Prisma.SelectSubset<T, user_friends_postsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more User_friends_posts.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {user_friends_postsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many User_friends_posts
     * const user_friends_posts = await prisma.user_friends_posts.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends user_friends_postsUpdateManyArgs>(args: Prisma.SelectSubset<T, user_friends_postsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more User_friends_posts and returns the data updated in the database.
     * @param {user_friends_postsUpdateManyAndReturnArgs} args - Arguments to update many User_friends_posts.
     * @example
     * // Update many User_friends_posts
     * const user_friends_posts = await prisma.user_friends_posts.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more User_friends_posts and only return the `id`
     * const user_friends_postsWithIdOnly = await prisma.user_friends_posts.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 user_friends_postsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, user_friends_postsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$user_friends_postsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one User_friends_posts.
     * @param {user_friends_postsUpsertArgs} args - Arguments to update or create a User_friends_posts.
     * @example
     * // Update or create a User_friends_posts
     * const user_friends_posts = await prisma.user_friends_posts.upsert({
     *   create: {
     *     // ... data to create a User_friends_posts
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the User_friends_posts we want to update
     *   }
     * })
     */
    upsert<T extends user_friends_postsUpsertArgs>(args: Prisma.SelectSubset<T, user_friends_postsUpsertArgs<ExtArgs>>): Prisma.Prisma__user_friends_postsClient<runtime.Types.Result.GetResult<Prisma.$user_friends_postsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of User_friends_posts.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {user_friends_postsCountArgs} args - Arguments to filter User_friends_posts to count.
     * @example
     * // Count the number of User_friends_posts
     * const count = await prisma.user_friends_posts.count({
     *   where: {
     *     // ... the filter for the User_friends_posts we want to count
     *   }
     * })
    **/
    count<T extends user_friends_postsCountArgs>(args?: Prisma.Subset<T, user_friends_postsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], User_friends_postsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a User_friends_posts.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {User_friends_postsAggregateArgs} 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 User_friends_postsAggregateArgs>(args: Prisma.Subset<T, User_friends_postsAggregateArgs>): Prisma.PrismaPromise<GetUser_friends_postsAggregateType<T>>;
    /**
     * Group by User_friends_posts.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {user_friends_postsGroupByArgs} 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 user_friends_postsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: user_friends_postsGroupByArgs['orderBy'];
    } : {
        orderBy?: user_friends_postsGroupByArgs['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, user_friends_postsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUser_friends_postsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the user_friends_posts model
     */
    readonly fields: user_friends_postsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for user_friends_posts.
 * 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__user_friends_postsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    posts<T extends Prisma.user_friends_posts$postsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.user_friends_posts$postsArgs<ExtArgs>>): Prisma.Prisma__postsClient<runtime.Types.Result.GetResult<Prisma.$postsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    user_friends<T extends Prisma.user_friends_posts$user_friendsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.user_friends_posts$user_friendsArgs<ExtArgs>>): Prisma.Prisma__user_friendsClient<runtime.Types.Result.GetResult<Prisma.$user_friendsPayload<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 user_friends_posts model
 */
export interface user_friends_postsFieldRefs {
    readonly id: Prisma.FieldRef<"user_friends_posts", 'Int'>;
    readonly user_friends_id: Prisma.FieldRef<"user_friends_posts", 'Int'>;
    readonly posts_id: Prisma.FieldRef<"user_friends_posts", 'Int'>;
}
/**
 * user_friends_posts findUnique
 */
export type user_friends_postsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the user_friends_posts
     */
    select?: Prisma.user_friends_postsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the user_friends_posts
     */
    omit?: Prisma.user_friends_postsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.user_friends_postsInclude<ExtArgs> | null;
    /**
     * Filter, which user_friends_posts to fetch.
     */
    where: Prisma.user_friends_postsWhereUniqueInput;
};
/**
 * user_friends_posts findUniqueOrThrow
 */
export type user_friends_postsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the user_friends_posts
     */
    select?: Prisma.user_friends_postsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the user_friends_posts
     */
    omit?: Prisma.user_friends_postsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.user_friends_postsInclude<ExtArgs> | null;
    /**
     * Filter, which user_friends_posts to fetch.
     */
    where: Prisma.user_friends_postsWhereUniqueInput;
};
/**
 * user_friends_posts findFirst
 */
export type user_friends_postsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the user_friends_posts
     */
    select?: Prisma.user_friends_postsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the user_friends_posts
     */
    omit?: Prisma.user_friends_postsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.user_friends_postsInclude<ExtArgs> | null;
    /**
     * Filter, which user_friends_posts to fetch.
     */
    where?: Prisma.user_friends_postsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of user_friends_posts to fetch.
     */
    orderBy?: Prisma.user_friends_postsOrderByWithRelationInput | Prisma.user_friends_postsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for user_friends_posts.
     */
    cursor?: Prisma.user_friends_postsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` user_friends_posts 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` user_friends_posts.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of user_friends_posts.
     */
    distinct?: Prisma.User_friends_postsScalarFieldEnum | Prisma.User_friends_postsScalarFieldEnum[];
};
/**
 * user_friends_posts findFirstOrThrow
 */
export type user_friends_postsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the user_friends_posts
     */
    select?: Prisma.user_friends_postsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the user_friends_posts
     */
    omit?: Prisma.user_friends_postsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.user_friends_postsInclude<ExtArgs> | null;
    /**
     * Filter, which user_friends_posts to fetch.
     */
    where?: Prisma.user_friends_postsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of user_friends_posts to fetch.
     */
    orderBy?: Prisma.user_friends_postsOrderByWithRelationInput | Prisma.user_friends_postsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for user_friends_posts.
     */
    cursor?: Prisma.user_friends_postsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` user_friends_posts 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` user_friends_posts.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of user_friends_posts.
     */
    distinct?: Prisma.User_friends_postsScalarFieldEnum | Prisma.User_friends_postsScalarFieldEnum[];
};
/**
 * user_friends_posts findMany
 */
export type user_friends_postsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the user_friends_posts
     */
    select?: Prisma.user_friends_postsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the user_friends_posts
     */
    omit?: Prisma.user_friends_postsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.user_friends_postsInclude<ExtArgs> | null;
    /**
     * Filter, which user_friends_posts to fetch.
     */
    where?: Prisma.user_friends_postsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of user_friends_posts to fetch.
     */
    orderBy?: Prisma.user_friends_postsOrderByWithRelationInput | Prisma.user_friends_postsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing user_friends_posts.
     */
    cursor?: Prisma.user_friends_postsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` user_friends_posts 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` user_friends_posts.
     */
    skip?: number;
    distinct?: Prisma.User_friends_postsScalarFieldEnum | Prisma.User_friends_postsScalarFieldEnum[];
};
/**
 * user_friends_posts create
 */
export type user_friends_postsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the user_friends_posts
     */
    select?: Prisma.user_friends_postsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the user_friends_posts
     */
    omit?: Prisma.user_friends_postsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.user_friends_postsInclude<ExtArgs> | null;
    /**
     * The data needed to create a user_friends_posts.
     */
    data?: Prisma.XOR<Prisma.user_friends_postsCreateInput, Prisma.user_friends_postsUncheckedCreateInput>;
};
/**
 * user_friends_posts createMany
 */
export type user_friends_postsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many user_friends_posts.
     */
    data: Prisma.user_friends_postsCreateManyInput | Prisma.user_friends_postsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * user_friends_posts createManyAndReturn
 */
export type user_friends_postsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the user_friends_posts
     */
    select?: Prisma.user_friends_postsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the user_friends_posts
     */
    omit?: Prisma.user_friends_postsOmit<ExtArgs> | null;
    /**
     * The data used to create many user_friends_posts.
     */
    data: Prisma.user_friends_postsCreateManyInput | Prisma.user_friends_postsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.user_friends_postsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * user_friends_posts update
 */
export type user_friends_postsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the user_friends_posts
     */
    select?: Prisma.user_friends_postsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the user_friends_posts
     */
    omit?: Prisma.user_friends_postsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.user_friends_postsInclude<ExtArgs> | null;
    /**
     * The data needed to update a user_friends_posts.
     */
    data: Prisma.XOR<Prisma.user_friends_postsUpdateInput, Prisma.user_friends_postsUncheckedUpdateInput>;
    /**
     * Choose, which user_friends_posts to update.
     */
    where: Prisma.user_friends_postsWhereUniqueInput;
};
/**
 * user_friends_posts updateMany
 */
export type user_friends_postsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update user_friends_posts.
     */
    data: Prisma.XOR<Prisma.user_friends_postsUpdateManyMutationInput, Prisma.user_friends_postsUncheckedUpdateManyInput>;
    /**
     * Filter which user_friends_posts to update
     */
    where?: Prisma.user_friends_postsWhereInput;
    /**
     * Limit how many user_friends_posts to update.
     */
    limit?: number;
};
/**
 * user_friends_posts updateManyAndReturn
 */
export type user_friends_postsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the user_friends_posts
     */
    select?: Prisma.user_friends_postsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the user_friends_posts
     */
    omit?: Prisma.user_friends_postsOmit<ExtArgs> | null;
    /**
     * The data used to update user_friends_posts.
     */
    data: Prisma.XOR<Prisma.user_friends_postsUpdateManyMutationInput, Prisma.user_friends_postsUncheckedUpdateManyInput>;
    /**
     * Filter which user_friends_posts to update
     */
    where?: Prisma.user_friends_postsWhereInput;
    /**
     * Limit how many user_friends_posts to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.user_friends_postsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * user_friends_posts upsert
 */
export type user_friends_postsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the user_friends_posts
     */
    select?: Prisma.user_friends_postsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the user_friends_posts
     */
    omit?: Prisma.user_friends_postsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.user_friends_postsInclude<ExtArgs> | null;
    /**
     * The filter to search for the user_friends_posts to update in case it exists.
     */
    where: Prisma.user_friends_postsWhereUniqueInput;
    /**
     * In case the user_friends_posts found by the `where` argument doesn't exist, create a new user_friends_posts with this data.
     */
    create: Prisma.XOR<Prisma.user_friends_postsCreateInput, Prisma.user_friends_postsUncheckedCreateInput>;
    /**
     * In case the user_friends_posts was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.user_friends_postsUpdateInput, Prisma.user_friends_postsUncheckedUpdateInput>;
};
/**
 * user_friends_posts delete
 */
export type user_friends_postsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the user_friends_posts
     */
    select?: Prisma.user_friends_postsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the user_friends_posts
     */
    omit?: Prisma.user_friends_postsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.user_friends_postsInclude<ExtArgs> | null;
    /**
     * Filter which user_friends_posts to delete.
     */
    where: Prisma.user_friends_postsWhereUniqueInput;
};
/**
 * user_friends_posts deleteMany
 */
export type user_friends_postsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which user_friends_posts to delete
     */
    where?: Prisma.user_friends_postsWhereInput;
    /**
     * Limit how many user_friends_posts to delete.
     */
    limit?: number;
};
/**
 * user_friends_posts.posts
 */
export type user_friends_posts$postsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the posts
     */
    select?: Prisma.postsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the posts
     */
    omit?: Prisma.postsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.postsInclude<ExtArgs> | null;
    where?: Prisma.postsWhereInput;
};
/**
 * user_friends_posts.user_friends
 */
export type user_friends_posts$user_friendsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the user_friends
     */
    select?: Prisma.user_friendsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the user_friends
     */
    omit?: Prisma.user_friendsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.user_friendsInclude<ExtArgs> | null;
    where?: Prisma.user_friendsWhereInput;
};
/**
 * user_friends_posts without action
 */
export type user_friends_postsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the user_friends_posts
     */
    select?: Prisma.user_friends_postsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the user_friends_posts
     */
    omit?: Prisma.user_friends_postsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.user_friends_postsInclude<ExtArgs> | null;
};
export {};
