import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model posts_polls
 * 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 posts_pollsModel = runtime.Types.Result.DefaultSelection<Prisma.$posts_pollsPayload>;
export type AggregatePosts_polls = {
    _count: Posts_pollsCountAggregateOutputType | null;
    _avg: Posts_pollsAvgAggregateOutputType | null;
    _sum: Posts_pollsSumAggregateOutputType | null;
    _min: Posts_pollsMinAggregateOutputType | null;
    _max: Posts_pollsMaxAggregateOutputType | null;
};
export type Posts_pollsAvgAggregateOutputType = {
    id: number | null;
    posts_id: number | null;
    polls_id: number | null;
};
export type Posts_pollsSumAggregateOutputType = {
    id: number | null;
    posts_id: number | null;
    polls_id: number | null;
};
export type Posts_pollsMinAggregateOutputType = {
    id: number | null;
    posts_id: number | null;
    polls_id: number | null;
};
export type Posts_pollsMaxAggregateOutputType = {
    id: number | null;
    posts_id: number | null;
    polls_id: number | null;
};
export type Posts_pollsCountAggregateOutputType = {
    id: number;
    posts_id: number;
    polls_id: number;
    _all: number;
};
export type Posts_pollsAvgAggregateInputType = {
    id?: true;
    posts_id?: true;
    polls_id?: true;
};
export type Posts_pollsSumAggregateInputType = {
    id?: true;
    posts_id?: true;
    polls_id?: true;
};
export type Posts_pollsMinAggregateInputType = {
    id?: true;
    posts_id?: true;
    polls_id?: true;
};
export type Posts_pollsMaxAggregateInputType = {
    id?: true;
    posts_id?: true;
    polls_id?: true;
};
export type Posts_pollsCountAggregateInputType = {
    id?: true;
    posts_id?: true;
    polls_id?: true;
    _all?: true;
};
export type Posts_pollsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which posts_polls to aggregate.
     */
    where?: Prisma.posts_pollsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of posts_polls to fetch.
     */
    orderBy?: Prisma.posts_pollsOrderByWithRelationInput | Prisma.posts_pollsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.posts_pollsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` posts_polls 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` posts_polls.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned posts_polls
    **/
    _count?: true | Posts_pollsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Posts_pollsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Posts_pollsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Posts_pollsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Posts_pollsMaxAggregateInputType;
};
export type GetPosts_pollsAggregateType<T extends Posts_pollsAggregateArgs> = {
    [P in keyof T & keyof AggregatePosts_polls]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePosts_polls[P]> : Prisma.GetScalarType<T[P], AggregatePosts_polls[P]>;
};
export type posts_pollsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.posts_pollsWhereInput;
    orderBy?: Prisma.posts_pollsOrderByWithAggregationInput | Prisma.posts_pollsOrderByWithAggregationInput[];
    by: Prisma.Posts_pollsScalarFieldEnum[] | Prisma.Posts_pollsScalarFieldEnum;
    having?: Prisma.posts_pollsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Posts_pollsCountAggregateInputType | true;
    _avg?: Posts_pollsAvgAggregateInputType;
    _sum?: Posts_pollsSumAggregateInputType;
    _min?: Posts_pollsMinAggregateInputType;
    _max?: Posts_pollsMaxAggregateInputType;
};
export type Posts_pollsGroupByOutputType = {
    id: number;
    posts_id: number | null;
    polls_id: number | null;
    _count: Posts_pollsCountAggregateOutputType | null;
    _avg: Posts_pollsAvgAggregateOutputType | null;
    _sum: Posts_pollsSumAggregateOutputType | null;
    _min: Posts_pollsMinAggregateOutputType | null;
    _max: Posts_pollsMaxAggregateOutputType | null;
};
type GetPosts_pollsGroupByPayload<T extends posts_pollsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Posts_pollsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Posts_pollsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Posts_pollsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Posts_pollsGroupByOutputType[P]>;
}>>;
export type posts_pollsWhereInput = {
    AND?: Prisma.posts_pollsWhereInput | Prisma.posts_pollsWhereInput[];
    OR?: Prisma.posts_pollsWhereInput[];
    NOT?: Prisma.posts_pollsWhereInput | Prisma.posts_pollsWhereInput[];
    id?: Prisma.IntFilter<"posts_polls"> | number;
    posts_id?: Prisma.IntNullableFilter<"posts_polls"> | number | null;
    polls_id?: Prisma.IntNullableFilter<"posts_polls"> | number | null;
    polls?: Prisma.XOR<Prisma.PollsNullableScalarRelationFilter, Prisma.pollsWhereInput> | null;
    posts?: Prisma.XOR<Prisma.PostsNullableScalarRelationFilter, Prisma.postsWhereInput> | null;
};
export type posts_pollsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    posts_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    polls_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    polls?: Prisma.pollsOrderByWithRelationInput;
    posts?: Prisma.postsOrderByWithRelationInput;
};
export type posts_pollsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.posts_pollsWhereInput | Prisma.posts_pollsWhereInput[];
    OR?: Prisma.posts_pollsWhereInput[];
    NOT?: Prisma.posts_pollsWhereInput | Prisma.posts_pollsWhereInput[];
    posts_id?: Prisma.IntNullableFilter<"posts_polls"> | number | null;
    polls_id?: Prisma.IntNullableFilter<"posts_polls"> | number | null;
    polls?: Prisma.XOR<Prisma.PollsNullableScalarRelationFilter, Prisma.pollsWhereInput> | null;
    posts?: Prisma.XOR<Prisma.PostsNullableScalarRelationFilter, Prisma.postsWhereInput> | null;
}, "id">;
export type posts_pollsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    posts_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    polls_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.posts_pollsCountOrderByAggregateInput;
    _avg?: Prisma.posts_pollsAvgOrderByAggregateInput;
    _max?: Prisma.posts_pollsMaxOrderByAggregateInput;
    _min?: Prisma.posts_pollsMinOrderByAggregateInput;
    _sum?: Prisma.posts_pollsSumOrderByAggregateInput;
};
export type posts_pollsScalarWhereWithAggregatesInput = {
    AND?: Prisma.posts_pollsScalarWhereWithAggregatesInput | Prisma.posts_pollsScalarWhereWithAggregatesInput[];
    OR?: Prisma.posts_pollsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.posts_pollsScalarWhereWithAggregatesInput | Prisma.posts_pollsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"posts_polls"> | number;
    posts_id?: Prisma.IntNullableWithAggregatesFilter<"posts_polls"> | number | null;
    polls_id?: Prisma.IntNullableWithAggregatesFilter<"posts_polls"> | number | null;
};
export type posts_pollsCreateInput = {
    polls?: Prisma.pollsCreateNestedOneWithoutPosts_pollsInput;
    posts?: Prisma.postsCreateNestedOneWithoutPosts_pollsInput;
};
export type posts_pollsUncheckedCreateInput = {
    id?: number;
    posts_id?: number | null;
    polls_id?: number | null;
};
export type posts_pollsUpdateInput = {
    polls?: Prisma.pollsUpdateOneWithoutPosts_pollsNestedInput;
    posts?: Prisma.postsUpdateOneWithoutPosts_pollsNestedInput;
};
export type posts_pollsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    posts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    polls_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type posts_pollsCreateManyInput = {
    id?: number;
    posts_id?: number | null;
    polls_id?: number | null;
};
export type posts_pollsUpdateManyMutationInput = {};
export type posts_pollsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    posts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    polls_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Posts_pollsListRelationFilter = {
    every?: Prisma.posts_pollsWhereInput;
    some?: Prisma.posts_pollsWhereInput;
    none?: Prisma.posts_pollsWhereInput;
};
export type posts_pollsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type posts_pollsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    posts_id?: Prisma.SortOrder;
    polls_id?: Prisma.SortOrder;
};
export type posts_pollsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    posts_id?: Prisma.SortOrder;
    polls_id?: Prisma.SortOrder;
};
export type posts_pollsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    posts_id?: Prisma.SortOrder;
    polls_id?: Prisma.SortOrder;
};
export type posts_pollsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    posts_id?: Prisma.SortOrder;
    polls_id?: Prisma.SortOrder;
};
export type posts_pollsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    posts_id?: Prisma.SortOrder;
    polls_id?: Prisma.SortOrder;
};
export type posts_pollsCreateNestedManyWithoutPollsInput = {
    create?: Prisma.XOR<Prisma.posts_pollsCreateWithoutPollsInput, Prisma.posts_pollsUncheckedCreateWithoutPollsInput> | Prisma.posts_pollsCreateWithoutPollsInput[] | Prisma.posts_pollsUncheckedCreateWithoutPollsInput[];
    connectOrCreate?: Prisma.posts_pollsCreateOrConnectWithoutPollsInput | Prisma.posts_pollsCreateOrConnectWithoutPollsInput[];
    createMany?: Prisma.posts_pollsCreateManyPollsInputEnvelope;
    connect?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
};
export type posts_pollsUncheckedCreateNestedManyWithoutPollsInput = {
    create?: Prisma.XOR<Prisma.posts_pollsCreateWithoutPollsInput, Prisma.posts_pollsUncheckedCreateWithoutPollsInput> | Prisma.posts_pollsCreateWithoutPollsInput[] | Prisma.posts_pollsUncheckedCreateWithoutPollsInput[];
    connectOrCreate?: Prisma.posts_pollsCreateOrConnectWithoutPollsInput | Prisma.posts_pollsCreateOrConnectWithoutPollsInput[];
    createMany?: Prisma.posts_pollsCreateManyPollsInputEnvelope;
    connect?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
};
export type posts_pollsUpdateManyWithoutPollsNestedInput = {
    create?: Prisma.XOR<Prisma.posts_pollsCreateWithoutPollsInput, Prisma.posts_pollsUncheckedCreateWithoutPollsInput> | Prisma.posts_pollsCreateWithoutPollsInput[] | Prisma.posts_pollsUncheckedCreateWithoutPollsInput[];
    connectOrCreate?: Prisma.posts_pollsCreateOrConnectWithoutPollsInput | Prisma.posts_pollsCreateOrConnectWithoutPollsInput[];
    upsert?: Prisma.posts_pollsUpsertWithWhereUniqueWithoutPollsInput | Prisma.posts_pollsUpsertWithWhereUniqueWithoutPollsInput[];
    createMany?: Prisma.posts_pollsCreateManyPollsInputEnvelope;
    set?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
    disconnect?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
    delete?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
    connect?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
    update?: Prisma.posts_pollsUpdateWithWhereUniqueWithoutPollsInput | Prisma.posts_pollsUpdateWithWhereUniqueWithoutPollsInput[];
    updateMany?: Prisma.posts_pollsUpdateManyWithWhereWithoutPollsInput | Prisma.posts_pollsUpdateManyWithWhereWithoutPollsInput[];
    deleteMany?: Prisma.posts_pollsScalarWhereInput | Prisma.posts_pollsScalarWhereInput[];
};
export type posts_pollsUncheckedUpdateManyWithoutPollsNestedInput = {
    create?: Prisma.XOR<Prisma.posts_pollsCreateWithoutPollsInput, Prisma.posts_pollsUncheckedCreateWithoutPollsInput> | Prisma.posts_pollsCreateWithoutPollsInput[] | Prisma.posts_pollsUncheckedCreateWithoutPollsInput[];
    connectOrCreate?: Prisma.posts_pollsCreateOrConnectWithoutPollsInput | Prisma.posts_pollsCreateOrConnectWithoutPollsInput[];
    upsert?: Prisma.posts_pollsUpsertWithWhereUniqueWithoutPollsInput | Prisma.posts_pollsUpsertWithWhereUniqueWithoutPollsInput[];
    createMany?: Prisma.posts_pollsCreateManyPollsInputEnvelope;
    set?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
    disconnect?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
    delete?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
    connect?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
    update?: Prisma.posts_pollsUpdateWithWhereUniqueWithoutPollsInput | Prisma.posts_pollsUpdateWithWhereUniqueWithoutPollsInput[];
    updateMany?: Prisma.posts_pollsUpdateManyWithWhereWithoutPollsInput | Prisma.posts_pollsUpdateManyWithWhereWithoutPollsInput[];
    deleteMany?: Prisma.posts_pollsScalarWhereInput | Prisma.posts_pollsScalarWhereInput[];
};
export type posts_pollsCreateNestedManyWithoutPostsInput = {
    create?: Prisma.XOR<Prisma.posts_pollsCreateWithoutPostsInput, Prisma.posts_pollsUncheckedCreateWithoutPostsInput> | Prisma.posts_pollsCreateWithoutPostsInput[] | Prisma.posts_pollsUncheckedCreateWithoutPostsInput[];
    connectOrCreate?: Prisma.posts_pollsCreateOrConnectWithoutPostsInput | Prisma.posts_pollsCreateOrConnectWithoutPostsInput[];
    createMany?: Prisma.posts_pollsCreateManyPostsInputEnvelope;
    connect?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
};
export type posts_pollsUncheckedCreateNestedManyWithoutPostsInput = {
    create?: Prisma.XOR<Prisma.posts_pollsCreateWithoutPostsInput, Prisma.posts_pollsUncheckedCreateWithoutPostsInput> | Prisma.posts_pollsCreateWithoutPostsInput[] | Prisma.posts_pollsUncheckedCreateWithoutPostsInput[];
    connectOrCreate?: Prisma.posts_pollsCreateOrConnectWithoutPostsInput | Prisma.posts_pollsCreateOrConnectWithoutPostsInput[];
    createMany?: Prisma.posts_pollsCreateManyPostsInputEnvelope;
    connect?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
};
export type posts_pollsUpdateManyWithoutPostsNestedInput = {
    create?: Prisma.XOR<Prisma.posts_pollsCreateWithoutPostsInput, Prisma.posts_pollsUncheckedCreateWithoutPostsInput> | Prisma.posts_pollsCreateWithoutPostsInput[] | Prisma.posts_pollsUncheckedCreateWithoutPostsInput[];
    connectOrCreate?: Prisma.posts_pollsCreateOrConnectWithoutPostsInput | Prisma.posts_pollsCreateOrConnectWithoutPostsInput[];
    upsert?: Prisma.posts_pollsUpsertWithWhereUniqueWithoutPostsInput | Prisma.posts_pollsUpsertWithWhereUniqueWithoutPostsInput[];
    createMany?: Prisma.posts_pollsCreateManyPostsInputEnvelope;
    set?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
    disconnect?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
    delete?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
    connect?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
    update?: Prisma.posts_pollsUpdateWithWhereUniqueWithoutPostsInput | Prisma.posts_pollsUpdateWithWhereUniqueWithoutPostsInput[];
    updateMany?: Prisma.posts_pollsUpdateManyWithWhereWithoutPostsInput | Prisma.posts_pollsUpdateManyWithWhereWithoutPostsInput[];
    deleteMany?: Prisma.posts_pollsScalarWhereInput | Prisma.posts_pollsScalarWhereInput[];
};
export type posts_pollsUncheckedUpdateManyWithoutPostsNestedInput = {
    create?: Prisma.XOR<Prisma.posts_pollsCreateWithoutPostsInput, Prisma.posts_pollsUncheckedCreateWithoutPostsInput> | Prisma.posts_pollsCreateWithoutPostsInput[] | Prisma.posts_pollsUncheckedCreateWithoutPostsInput[];
    connectOrCreate?: Prisma.posts_pollsCreateOrConnectWithoutPostsInput | Prisma.posts_pollsCreateOrConnectWithoutPostsInput[];
    upsert?: Prisma.posts_pollsUpsertWithWhereUniqueWithoutPostsInput | Prisma.posts_pollsUpsertWithWhereUniqueWithoutPostsInput[];
    createMany?: Prisma.posts_pollsCreateManyPostsInputEnvelope;
    set?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
    disconnect?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
    delete?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
    connect?: Prisma.posts_pollsWhereUniqueInput | Prisma.posts_pollsWhereUniqueInput[];
    update?: Prisma.posts_pollsUpdateWithWhereUniqueWithoutPostsInput | Prisma.posts_pollsUpdateWithWhereUniqueWithoutPostsInput[];
    updateMany?: Prisma.posts_pollsUpdateManyWithWhereWithoutPostsInput | Prisma.posts_pollsUpdateManyWithWhereWithoutPostsInput[];
    deleteMany?: Prisma.posts_pollsScalarWhereInput | Prisma.posts_pollsScalarWhereInput[];
};
export type posts_pollsCreateWithoutPollsInput = {
    posts?: Prisma.postsCreateNestedOneWithoutPosts_pollsInput;
};
export type posts_pollsUncheckedCreateWithoutPollsInput = {
    id?: number;
    posts_id?: number | null;
};
export type posts_pollsCreateOrConnectWithoutPollsInput = {
    where: Prisma.posts_pollsWhereUniqueInput;
    create: Prisma.XOR<Prisma.posts_pollsCreateWithoutPollsInput, Prisma.posts_pollsUncheckedCreateWithoutPollsInput>;
};
export type posts_pollsCreateManyPollsInputEnvelope = {
    data: Prisma.posts_pollsCreateManyPollsInput | Prisma.posts_pollsCreateManyPollsInput[];
    skipDuplicates?: boolean;
};
export type posts_pollsUpsertWithWhereUniqueWithoutPollsInput = {
    where: Prisma.posts_pollsWhereUniqueInput;
    update: Prisma.XOR<Prisma.posts_pollsUpdateWithoutPollsInput, Prisma.posts_pollsUncheckedUpdateWithoutPollsInput>;
    create: Prisma.XOR<Prisma.posts_pollsCreateWithoutPollsInput, Prisma.posts_pollsUncheckedCreateWithoutPollsInput>;
};
export type posts_pollsUpdateWithWhereUniqueWithoutPollsInput = {
    where: Prisma.posts_pollsWhereUniqueInput;
    data: Prisma.XOR<Prisma.posts_pollsUpdateWithoutPollsInput, Prisma.posts_pollsUncheckedUpdateWithoutPollsInput>;
};
export type posts_pollsUpdateManyWithWhereWithoutPollsInput = {
    where: Prisma.posts_pollsScalarWhereInput;
    data: Prisma.XOR<Prisma.posts_pollsUpdateManyMutationInput, Prisma.posts_pollsUncheckedUpdateManyWithoutPollsInput>;
};
export type posts_pollsScalarWhereInput = {
    AND?: Prisma.posts_pollsScalarWhereInput | Prisma.posts_pollsScalarWhereInput[];
    OR?: Prisma.posts_pollsScalarWhereInput[];
    NOT?: Prisma.posts_pollsScalarWhereInput | Prisma.posts_pollsScalarWhereInput[];
    id?: Prisma.IntFilter<"posts_polls"> | number;
    posts_id?: Prisma.IntNullableFilter<"posts_polls"> | number | null;
    polls_id?: Prisma.IntNullableFilter<"posts_polls"> | number | null;
};
export type posts_pollsCreateWithoutPostsInput = {
    polls?: Prisma.pollsCreateNestedOneWithoutPosts_pollsInput;
};
export type posts_pollsUncheckedCreateWithoutPostsInput = {
    id?: number;
    polls_id?: number | null;
};
export type posts_pollsCreateOrConnectWithoutPostsInput = {
    where: Prisma.posts_pollsWhereUniqueInput;
    create: Prisma.XOR<Prisma.posts_pollsCreateWithoutPostsInput, Prisma.posts_pollsUncheckedCreateWithoutPostsInput>;
};
export type posts_pollsCreateManyPostsInputEnvelope = {
    data: Prisma.posts_pollsCreateManyPostsInput | Prisma.posts_pollsCreateManyPostsInput[];
    skipDuplicates?: boolean;
};
export type posts_pollsUpsertWithWhereUniqueWithoutPostsInput = {
    where: Prisma.posts_pollsWhereUniqueInput;
    update: Prisma.XOR<Prisma.posts_pollsUpdateWithoutPostsInput, Prisma.posts_pollsUncheckedUpdateWithoutPostsInput>;
    create: Prisma.XOR<Prisma.posts_pollsCreateWithoutPostsInput, Prisma.posts_pollsUncheckedCreateWithoutPostsInput>;
};
export type posts_pollsUpdateWithWhereUniqueWithoutPostsInput = {
    where: Prisma.posts_pollsWhereUniqueInput;
    data: Prisma.XOR<Prisma.posts_pollsUpdateWithoutPostsInput, Prisma.posts_pollsUncheckedUpdateWithoutPostsInput>;
};
export type posts_pollsUpdateManyWithWhereWithoutPostsInput = {
    where: Prisma.posts_pollsScalarWhereInput;
    data: Prisma.XOR<Prisma.posts_pollsUpdateManyMutationInput, Prisma.posts_pollsUncheckedUpdateManyWithoutPostsInput>;
};
export type posts_pollsCreateManyPollsInput = {
    id?: number;
    posts_id?: number | null;
};
export type posts_pollsUpdateWithoutPollsInput = {
    posts?: Prisma.postsUpdateOneWithoutPosts_pollsNestedInput;
};
export type posts_pollsUncheckedUpdateWithoutPollsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    posts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type posts_pollsUncheckedUpdateManyWithoutPollsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    posts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type posts_pollsCreateManyPostsInput = {
    id?: number;
    polls_id?: number | null;
};
export type posts_pollsUpdateWithoutPostsInput = {
    polls?: Prisma.pollsUpdateOneWithoutPosts_pollsNestedInput;
};
export type posts_pollsUncheckedUpdateWithoutPostsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    polls_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type posts_pollsUncheckedUpdateManyWithoutPostsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    polls_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type posts_pollsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    posts_id?: boolean;
    polls_id?: boolean;
    polls?: boolean | Prisma.posts_polls$pollsArgs<ExtArgs>;
    posts?: boolean | Prisma.posts_polls$postsArgs<ExtArgs>;
}, ExtArgs["result"]["posts_polls"]>;
export type posts_pollsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    posts_id?: boolean;
    polls_id?: boolean;
    polls?: boolean | Prisma.posts_polls$pollsArgs<ExtArgs>;
    posts?: boolean | Prisma.posts_polls$postsArgs<ExtArgs>;
}, ExtArgs["result"]["posts_polls"]>;
export type posts_pollsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    posts_id?: boolean;
    polls_id?: boolean;
    polls?: boolean | Prisma.posts_polls$pollsArgs<ExtArgs>;
    posts?: boolean | Prisma.posts_polls$postsArgs<ExtArgs>;
}, ExtArgs["result"]["posts_polls"]>;
export type posts_pollsSelectScalar = {
    id?: boolean;
    posts_id?: boolean;
    polls_id?: boolean;
};
export type posts_pollsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "posts_id" | "polls_id", ExtArgs["result"]["posts_polls"]>;
export type posts_pollsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    polls?: boolean | Prisma.posts_polls$pollsArgs<ExtArgs>;
    posts?: boolean | Prisma.posts_polls$postsArgs<ExtArgs>;
};
export type posts_pollsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    polls?: boolean | Prisma.posts_polls$pollsArgs<ExtArgs>;
    posts?: boolean | Prisma.posts_polls$postsArgs<ExtArgs>;
};
export type posts_pollsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    polls?: boolean | Prisma.posts_polls$pollsArgs<ExtArgs>;
    posts?: boolean | Prisma.posts_polls$postsArgs<ExtArgs>;
};
export type $posts_pollsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "posts_polls";
    objects: {
        polls: Prisma.$pollsPayload<ExtArgs> | null;
        posts: Prisma.$postsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        posts_id: number | null;
        polls_id: number | null;
    }, ExtArgs["result"]["posts_polls"]>;
    composites: {};
};
export type posts_pollsGetPayload<S extends boolean | null | undefined | posts_pollsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$posts_pollsPayload, S>;
export type posts_pollsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<posts_pollsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Posts_pollsCountAggregateInputType | true;
};
export interface posts_pollsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['posts_polls'];
        meta: {
            name: 'posts_polls';
        };
    };
    /**
     * Find zero or one Posts_polls that matches the filter.
     * @param {posts_pollsFindUniqueArgs} args - Arguments to find a Posts_polls
     * @example
     * // Get one Posts_polls
     * const posts_polls = await prisma.posts_polls.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends posts_pollsFindUniqueArgs>(args: Prisma.SelectSubset<T, posts_pollsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__posts_pollsClient<runtime.Types.Result.GetResult<Prisma.$posts_pollsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Posts_polls that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {posts_pollsFindUniqueOrThrowArgs} args - Arguments to find a Posts_polls
     * @example
     * // Get one Posts_polls
     * const posts_polls = await prisma.posts_polls.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends posts_pollsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, posts_pollsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__posts_pollsClient<runtime.Types.Result.GetResult<Prisma.$posts_pollsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Posts_polls 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 {posts_pollsFindFirstArgs} args - Arguments to find a Posts_polls
     * @example
     * // Get one Posts_polls
     * const posts_polls = await prisma.posts_polls.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends posts_pollsFindFirstArgs>(args?: Prisma.SelectSubset<T, posts_pollsFindFirstArgs<ExtArgs>>): Prisma.Prisma__posts_pollsClient<runtime.Types.Result.GetResult<Prisma.$posts_pollsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Posts_polls 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 {posts_pollsFindFirstOrThrowArgs} args - Arguments to find a Posts_polls
     * @example
     * // Get one Posts_polls
     * const posts_polls = await prisma.posts_polls.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends posts_pollsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, posts_pollsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__posts_pollsClient<runtime.Types.Result.GetResult<Prisma.$posts_pollsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Posts_polls 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 {posts_pollsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Posts_polls
     * const posts_polls = await prisma.posts_polls.findMany()
     *
     * // Get first 10 Posts_polls
     * const posts_polls = await prisma.posts_polls.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const posts_pollsWithIdOnly = await prisma.posts_polls.findMany({ select: { id: true } })
     *
     */
    findMany<T extends posts_pollsFindManyArgs>(args?: Prisma.SelectSubset<T, posts_pollsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$posts_pollsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Posts_polls.
     * @param {posts_pollsCreateArgs} args - Arguments to create a Posts_polls.
     * @example
     * // Create one Posts_polls
     * const Posts_polls = await prisma.posts_polls.create({
     *   data: {
     *     // ... data to create a Posts_polls
     *   }
     * })
     *
     */
    create<T extends posts_pollsCreateArgs>(args: Prisma.SelectSubset<T, posts_pollsCreateArgs<ExtArgs>>): Prisma.Prisma__posts_pollsClient<runtime.Types.Result.GetResult<Prisma.$posts_pollsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Posts_polls.
     * @param {posts_pollsCreateManyArgs} args - Arguments to create many Posts_polls.
     * @example
     * // Create many Posts_polls
     * const posts_polls = await prisma.posts_polls.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends posts_pollsCreateManyArgs>(args?: Prisma.SelectSubset<T, posts_pollsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Posts_polls and returns the data saved in the database.
     * @param {posts_pollsCreateManyAndReturnArgs} args - Arguments to create many Posts_polls.
     * @example
     * // Create many Posts_polls
     * const posts_polls = await prisma.posts_polls.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Posts_polls and only return the `id`
     * const posts_pollsWithIdOnly = await prisma.posts_polls.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 posts_pollsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, posts_pollsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$posts_pollsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Posts_polls.
     * @param {posts_pollsDeleteArgs} args - Arguments to delete one Posts_polls.
     * @example
     * // Delete one Posts_polls
     * const Posts_polls = await prisma.posts_polls.delete({
     *   where: {
     *     // ... filter to delete one Posts_polls
     *   }
     * })
     *
     */
    delete<T extends posts_pollsDeleteArgs>(args: Prisma.SelectSubset<T, posts_pollsDeleteArgs<ExtArgs>>): Prisma.Prisma__posts_pollsClient<runtime.Types.Result.GetResult<Prisma.$posts_pollsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Posts_polls.
     * @param {posts_pollsUpdateArgs} args - Arguments to update one Posts_polls.
     * @example
     * // Update one Posts_polls
     * const posts_polls = await prisma.posts_polls.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends posts_pollsUpdateArgs>(args: Prisma.SelectSubset<T, posts_pollsUpdateArgs<ExtArgs>>): Prisma.Prisma__posts_pollsClient<runtime.Types.Result.GetResult<Prisma.$posts_pollsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Posts_polls.
     * @param {posts_pollsDeleteManyArgs} args - Arguments to filter Posts_polls to delete.
     * @example
     * // Delete a few Posts_polls
     * const { count } = await prisma.posts_polls.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends posts_pollsDeleteManyArgs>(args?: Prisma.SelectSubset<T, posts_pollsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Posts_polls.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {posts_pollsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Posts_polls
     * const posts_polls = await prisma.posts_polls.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends posts_pollsUpdateManyArgs>(args: Prisma.SelectSubset<T, posts_pollsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Posts_polls and returns the data updated in the database.
     * @param {posts_pollsUpdateManyAndReturnArgs} args - Arguments to update many Posts_polls.
     * @example
     * // Update many Posts_polls
     * const posts_polls = await prisma.posts_polls.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Posts_polls and only return the `id`
     * const posts_pollsWithIdOnly = await prisma.posts_polls.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 posts_pollsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, posts_pollsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$posts_pollsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Posts_polls.
     * @param {posts_pollsUpsertArgs} args - Arguments to update or create a Posts_polls.
     * @example
     * // Update or create a Posts_polls
     * const posts_polls = await prisma.posts_polls.upsert({
     *   create: {
     *     // ... data to create a Posts_polls
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Posts_polls we want to update
     *   }
     * })
     */
    upsert<T extends posts_pollsUpsertArgs>(args: Prisma.SelectSubset<T, posts_pollsUpsertArgs<ExtArgs>>): Prisma.Prisma__posts_pollsClient<runtime.Types.Result.GetResult<Prisma.$posts_pollsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Posts_polls.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {posts_pollsCountArgs} args - Arguments to filter Posts_polls to count.
     * @example
     * // Count the number of Posts_polls
     * const count = await prisma.posts_polls.count({
     *   where: {
     *     // ... the filter for the Posts_polls we want to count
     *   }
     * })
    **/
    count<T extends posts_pollsCountArgs>(args?: Prisma.Subset<T, posts_pollsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Posts_pollsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Posts_polls.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Posts_pollsAggregateArgs} 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 Posts_pollsAggregateArgs>(args: Prisma.Subset<T, Posts_pollsAggregateArgs>): Prisma.PrismaPromise<GetPosts_pollsAggregateType<T>>;
    /**
     * Group by Posts_polls.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {posts_pollsGroupByArgs} 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 posts_pollsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: posts_pollsGroupByArgs['orderBy'];
    } : {
        orderBy?: posts_pollsGroupByArgs['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, posts_pollsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPosts_pollsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the posts_polls model
     */
    readonly fields: posts_pollsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for posts_polls.
 * 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__posts_pollsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    polls<T extends Prisma.posts_polls$pollsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.posts_polls$pollsArgs<ExtArgs>>): Prisma.Prisma__pollsClient<runtime.Types.Result.GetResult<Prisma.$pollsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    posts<T extends Prisma.posts_polls$postsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.posts_polls$postsArgs<ExtArgs>>): Prisma.Prisma__postsClient<runtime.Types.Result.GetResult<Prisma.$postsPayload<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 posts_polls model
 */
export interface posts_pollsFieldRefs {
    readonly id: Prisma.FieldRef<"posts_polls", 'Int'>;
    readonly posts_id: Prisma.FieldRef<"posts_polls", 'Int'>;
    readonly polls_id: Prisma.FieldRef<"posts_polls", 'Int'>;
}
/**
 * posts_polls findUnique
 */
export type posts_pollsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the posts_polls
     */
    select?: Prisma.posts_pollsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the posts_polls
     */
    omit?: Prisma.posts_pollsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.posts_pollsInclude<ExtArgs> | null;
    /**
     * Filter, which posts_polls to fetch.
     */
    where: Prisma.posts_pollsWhereUniqueInput;
};
/**
 * posts_polls findUniqueOrThrow
 */
export type posts_pollsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the posts_polls
     */
    select?: Prisma.posts_pollsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the posts_polls
     */
    omit?: Prisma.posts_pollsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.posts_pollsInclude<ExtArgs> | null;
    /**
     * Filter, which posts_polls to fetch.
     */
    where: Prisma.posts_pollsWhereUniqueInput;
};
/**
 * posts_polls findFirst
 */
export type posts_pollsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the posts_polls
     */
    select?: Prisma.posts_pollsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the posts_polls
     */
    omit?: Prisma.posts_pollsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.posts_pollsInclude<ExtArgs> | null;
    /**
     * Filter, which posts_polls to fetch.
     */
    where?: Prisma.posts_pollsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of posts_polls to fetch.
     */
    orderBy?: Prisma.posts_pollsOrderByWithRelationInput | Prisma.posts_pollsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for posts_polls.
     */
    cursor?: Prisma.posts_pollsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` posts_polls 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` posts_polls.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of posts_polls.
     */
    distinct?: Prisma.Posts_pollsScalarFieldEnum | Prisma.Posts_pollsScalarFieldEnum[];
};
/**
 * posts_polls findFirstOrThrow
 */
export type posts_pollsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the posts_polls
     */
    select?: Prisma.posts_pollsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the posts_polls
     */
    omit?: Prisma.posts_pollsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.posts_pollsInclude<ExtArgs> | null;
    /**
     * Filter, which posts_polls to fetch.
     */
    where?: Prisma.posts_pollsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of posts_polls to fetch.
     */
    orderBy?: Prisma.posts_pollsOrderByWithRelationInput | Prisma.posts_pollsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for posts_polls.
     */
    cursor?: Prisma.posts_pollsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` posts_polls 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` posts_polls.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of posts_polls.
     */
    distinct?: Prisma.Posts_pollsScalarFieldEnum | Prisma.Posts_pollsScalarFieldEnum[];
};
/**
 * posts_polls findMany
 */
export type posts_pollsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the posts_polls
     */
    select?: Prisma.posts_pollsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the posts_polls
     */
    omit?: Prisma.posts_pollsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.posts_pollsInclude<ExtArgs> | null;
    /**
     * Filter, which posts_polls to fetch.
     */
    where?: Prisma.posts_pollsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of posts_polls to fetch.
     */
    orderBy?: Prisma.posts_pollsOrderByWithRelationInput | Prisma.posts_pollsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing posts_polls.
     */
    cursor?: Prisma.posts_pollsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` posts_polls 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` posts_polls.
     */
    skip?: number;
    distinct?: Prisma.Posts_pollsScalarFieldEnum | Prisma.Posts_pollsScalarFieldEnum[];
};
/**
 * posts_polls create
 */
export type posts_pollsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the posts_polls
     */
    select?: Prisma.posts_pollsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the posts_polls
     */
    omit?: Prisma.posts_pollsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.posts_pollsInclude<ExtArgs> | null;
    /**
     * The data needed to create a posts_polls.
     */
    data?: Prisma.XOR<Prisma.posts_pollsCreateInput, Prisma.posts_pollsUncheckedCreateInput>;
};
/**
 * posts_polls createMany
 */
export type posts_pollsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many posts_polls.
     */
    data: Prisma.posts_pollsCreateManyInput | Prisma.posts_pollsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * posts_polls createManyAndReturn
 */
export type posts_pollsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the posts_polls
     */
    select?: Prisma.posts_pollsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the posts_polls
     */
    omit?: Prisma.posts_pollsOmit<ExtArgs> | null;
    /**
     * The data used to create many posts_polls.
     */
    data: Prisma.posts_pollsCreateManyInput | Prisma.posts_pollsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.posts_pollsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * posts_polls update
 */
export type posts_pollsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the posts_polls
     */
    select?: Prisma.posts_pollsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the posts_polls
     */
    omit?: Prisma.posts_pollsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.posts_pollsInclude<ExtArgs> | null;
    /**
     * The data needed to update a posts_polls.
     */
    data: Prisma.XOR<Prisma.posts_pollsUpdateInput, Prisma.posts_pollsUncheckedUpdateInput>;
    /**
     * Choose, which posts_polls to update.
     */
    where: Prisma.posts_pollsWhereUniqueInput;
};
/**
 * posts_polls updateMany
 */
export type posts_pollsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update posts_polls.
     */
    data: Prisma.XOR<Prisma.posts_pollsUpdateManyMutationInput, Prisma.posts_pollsUncheckedUpdateManyInput>;
    /**
     * Filter which posts_polls to update
     */
    where?: Prisma.posts_pollsWhereInput;
    /**
     * Limit how many posts_polls to update.
     */
    limit?: number;
};
/**
 * posts_polls updateManyAndReturn
 */
export type posts_pollsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the posts_polls
     */
    select?: Prisma.posts_pollsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the posts_polls
     */
    omit?: Prisma.posts_pollsOmit<ExtArgs> | null;
    /**
     * The data used to update posts_polls.
     */
    data: Prisma.XOR<Prisma.posts_pollsUpdateManyMutationInput, Prisma.posts_pollsUncheckedUpdateManyInput>;
    /**
     * Filter which posts_polls to update
     */
    where?: Prisma.posts_pollsWhereInput;
    /**
     * Limit how many posts_polls to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.posts_pollsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * posts_polls upsert
 */
export type posts_pollsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the posts_polls
     */
    select?: Prisma.posts_pollsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the posts_polls
     */
    omit?: Prisma.posts_pollsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.posts_pollsInclude<ExtArgs> | null;
    /**
     * The filter to search for the posts_polls to update in case it exists.
     */
    where: Prisma.posts_pollsWhereUniqueInput;
    /**
     * In case the posts_polls found by the `where` argument doesn't exist, create a new posts_polls with this data.
     */
    create: Prisma.XOR<Prisma.posts_pollsCreateInput, Prisma.posts_pollsUncheckedCreateInput>;
    /**
     * In case the posts_polls was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.posts_pollsUpdateInput, Prisma.posts_pollsUncheckedUpdateInput>;
};
/**
 * posts_polls delete
 */
export type posts_pollsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the posts_polls
     */
    select?: Prisma.posts_pollsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the posts_polls
     */
    omit?: Prisma.posts_pollsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.posts_pollsInclude<ExtArgs> | null;
    /**
     * Filter which posts_polls to delete.
     */
    where: Prisma.posts_pollsWhereUniqueInput;
};
/**
 * posts_polls deleteMany
 */
export type posts_pollsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which posts_polls to delete
     */
    where?: Prisma.posts_pollsWhereInput;
    /**
     * Limit how many posts_polls to delete.
     */
    limit?: number;
};
/**
 * posts_polls.polls
 */
export type posts_polls$pollsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the polls
     */
    select?: Prisma.pollsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the polls
     */
    omit?: Prisma.pollsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.pollsInclude<ExtArgs> | null;
    where?: Prisma.pollsWhereInput;
};
/**
 * posts_polls.posts
 */
export type posts_polls$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;
};
/**
 * posts_polls without action
 */
export type posts_pollsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the posts_polls
     */
    select?: Prisma.posts_pollsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the posts_polls
     */
    omit?: Prisma.posts_pollsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.posts_pollsInclude<ExtArgs> | null;
};
export {};
