import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model reposts
 * Reposts: user reposts for posts
 */
export type repostsModel = runtime.Types.Result.DefaultSelection<Prisma.$repostsPayload>;
export type AggregateReposts = {
    _count: RepostsCountAggregateOutputType | null;
    _avg: RepostsAvgAggregateOutputType | null;
    _sum: RepostsSumAggregateOutputType | null;
    _min: RepostsMinAggregateOutputType | null;
    _max: RepostsMaxAggregateOutputType | null;
};
export type RepostsAvgAggregateOutputType = {
    id: number | null;
    post_id: number | null;
};
export type RepostsSumAggregateOutputType = {
    id: bigint | null;
    post_id: number | null;
};
export type RepostsMinAggregateOutputType = {
    id: bigint | null;
    post_id: number | null;
    user_id: string | null;
    created_at: Date | null;
};
export type RepostsMaxAggregateOutputType = {
    id: bigint | null;
    post_id: number | null;
    user_id: string | null;
    created_at: Date | null;
};
export type RepostsCountAggregateOutputType = {
    id: number;
    post_id: number;
    user_id: number;
    created_at: number;
    _all: number;
};
export type RepostsAvgAggregateInputType = {
    id?: true;
    post_id?: true;
};
export type RepostsSumAggregateInputType = {
    id?: true;
    post_id?: true;
};
export type RepostsMinAggregateInputType = {
    id?: true;
    post_id?: true;
    user_id?: true;
    created_at?: true;
};
export type RepostsMaxAggregateInputType = {
    id?: true;
    post_id?: true;
    user_id?: true;
    created_at?: true;
};
export type RepostsCountAggregateInputType = {
    id?: true;
    post_id?: true;
    user_id?: true;
    created_at?: true;
    _all?: true;
};
export type RepostsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which reposts to aggregate.
     */
    where?: Prisma.repostsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of reposts to fetch.
     */
    orderBy?: Prisma.repostsOrderByWithRelationInput | Prisma.repostsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.repostsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` reposts 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` reposts.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned reposts
    **/
    _count?: true | RepostsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: RepostsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: RepostsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: RepostsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: RepostsMaxAggregateInputType;
};
export type GetRepostsAggregateType<T extends RepostsAggregateArgs> = {
    [P in keyof T & keyof AggregateReposts]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateReposts[P]> : Prisma.GetScalarType<T[P], AggregateReposts[P]>;
};
export type repostsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.repostsWhereInput;
    orderBy?: Prisma.repostsOrderByWithAggregationInput | Prisma.repostsOrderByWithAggregationInput[];
    by: Prisma.RepostsScalarFieldEnum[] | Prisma.RepostsScalarFieldEnum;
    having?: Prisma.repostsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: RepostsCountAggregateInputType | true;
    _avg?: RepostsAvgAggregateInputType;
    _sum?: RepostsSumAggregateInputType;
    _min?: RepostsMinAggregateInputType;
    _max?: RepostsMaxAggregateInputType;
};
export type RepostsGroupByOutputType = {
    id: bigint;
    post_id: number;
    user_id: string;
    created_at: Date;
    _count: RepostsCountAggregateOutputType | null;
    _avg: RepostsAvgAggregateOutputType | null;
    _sum: RepostsSumAggregateOutputType | null;
    _min: RepostsMinAggregateOutputType | null;
    _max: RepostsMaxAggregateOutputType | null;
};
type GetRepostsGroupByPayload<T extends repostsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<RepostsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof RepostsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], RepostsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], RepostsGroupByOutputType[P]>;
}>>;
export type repostsWhereInput = {
    AND?: Prisma.repostsWhereInput | Prisma.repostsWhereInput[];
    OR?: Prisma.repostsWhereInput[];
    NOT?: Prisma.repostsWhereInput | Prisma.repostsWhereInput[];
    id?: Prisma.BigIntFilter<"reposts"> | bigint | number;
    post_id?: Prisma.IntFilter<"reposts"> | number;
    user_id?: Prisma.UuidFilter<"reposts"> | string;
    created_at?: Prisma.DateTimeFilter<"reposts"> | Date | string;
};
export type repostsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    post_id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
};
export type repostsWhereUniqueInput = Prisma.AtLeast<{
    id?: bigint | number;
    post_id_user_id?: Prisma.repostsPost_idUser_idCompoundUniqueInput;
    AND?: Prisma.repostsWhereInput | Prisma.repostsWhereInput[];
    OR?: Prisma.repostsWhereInput[];
    NOT?: Prisma.repostsWhereInput | Prisma.repostsWhereInput[];
    post_id?: Prisma.IntFilter<"reposts"> | number;
    user_id?: Prisma.UuidFilter<"reposts"> | string;
    created_at?: Prisma.DateTimeFilter<"reposts"> | Date | string;
}, "id" | "post_id_user_id">;
export type repostsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    post_id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    _count?: Prisma.repostsCountOrderByAggregateInput;
    _avg?: Prisma.repostsAvgOrderByAggregateInput;
    _max?: Prisma.repostsMaxOrderByAggregateInput;
    _min?: Prisma.repostsMinOrderByAggregateInput;
    _sum?: Prisma.repostsSumOrderByAggregateInput;
};
export type repostsScalarWhereWithAggregatesInput = {
    AND?: Prisma.repostsScalarWhereWithAggregatesInput | Prisma.repostsScalarWhereWithAggregatesInput[];
    OR?: Prisma.repostsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.repostsScalarWhereWithAggregatesInput | Prisma.repostsScalarWhereWithAggregatesInput[];
    id?: Prisma.BigIntWithAggregatesFilter<"reposts"> | bigint | number;
    post_id?: Prisma.IntWithAggregatesFilter<"reposts"> | number;
    user_id?: Prisma.UuidWithAggregatesFilter<"reposts"> | string;
    created_at?: Prisma.DateTimeWithAggregatesFilter<"reposts"> | Date | string;
};
export type repostsCreateInput = {
    id?: bigint | number;
    post_id: number;
    user_id: string;
    created_at?: Date | string;
};
export type repostsUncheckedCreateInput = {
    id?: bigint | number;
    post_id: number;
    user_id: string;
    created_at?: Date | string;
};
export type repostsUpdateInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    post_id?: Prisma.IntFieldUpdateOperationsInput | number;
    user_id?: Prisma.StringFieldUpdateOperationsInput | string;
    created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
};
export type repostsUncheckedUpdateInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    post_id?: Prisma.IntFieldUpdateOperationsInput | number;
    user_id?: Prisma.StringFieldUpdateOperationsInput | string;
    created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
};
export type repostsCreateManyInput = {
    id?: bigint | number;
    post_id: number;
    user_id: string;
    created_at?: Date | string;
};
export type repostsUpdateManyMutationInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    post_id?: Prisma.IntFieldUpdateOperationsInput | number;
    user_id?: Prisma.StringFieldUpdateOperationsInput | string;
    created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
};
export type repostsUncheckedUpdateManyInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    post_id?: Prisma.IntFieldUpdateOperationsInput | number;
    user_id?: Prisma.StringFieldUpdateOperationsInput | string;
    created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
};
export type repostsPost_idUser_idCompoundUniqueInput = {
    post_id: number;
    user_id: string;
};
export type repostsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    post_id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
};
export type repostsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    post_id?: Prisma.SortOrder;
};
export type repostsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    post_id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
};
export type repostsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    post_id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
};
export type repostsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    post_id?: Prisma.SortOrder;
};
export type repostsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    post_id?: boolean;
    user_id?: boolean;
    created_at?: boolean;
}, ExtArgs["result"]["reposts"]>;
export type repostsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    post_id?: boolean;
    user_id?: boolean;
    created_at?: boolean;
}, ExtArgs["result"]["reposts"]>;
export type repostsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    post_id?: boolean;
    user_id?: boolean;
    created_at?: boolean;
}, ExtArgs["result"]["reposts"]>;
export type repostsSelectScalar = {
    id?: boolean;
    post_id?: boolean;
    user_id?: boolean;
    created_at?: boolean;
};
export type repostsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "post_id" | "user_id" | "created_at", ExtArgs["result"]["reposts"]>;
export type $repostsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "reposts";
    objects: {};
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: bigint;
        post_id: number;
        user_id: string;
        created_at: Date;
    }, ExtArgs["result"]["reposts"]>;
    composites: {};
};
export type repostsGetPayload<S extends boolean | null | undefined | repostsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$repostsPayload, S>;
export type repostsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<repostsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: RepostsCountAggregateInputType | true;
};
export interface repostsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['reposts'];
        meta: {
            name: 'reposts';
        };
    };
    /**
     * Find zero or one Reposts that matches the filter.
     * @param {repostsFindUniqueArgs} args - Arguments to find a Reposts
     * @example
     * // Get one Reposts
     * const reposts = await prisma.reposts.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends repostsFindUniqueArgs>(args: Prisma.SelectSubset<T, repostsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__repostsClient<runtime.Types.Result.GetResult<Prisma.$repostsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Reposts that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {repostsFindUniqueOrThrowArgs} args - Arguments to find a Reposts
     * @example
     * // Get one Reposts
     * const reposts = await prisma.reposts.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends repostsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, repostsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__repostsClient<runtime.Types.Result.GetResult<Prisma.$repostsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Reposts 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 {repostsFindFirstArgs} args - Arguments to find a Reposts
     * @example
     * // Get one Reposts
     * const reposts = await prisma.reposts.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends repostsFindFirstArgs>(args?: Prisma.SelectSubset<T, repostsFindFirstArgs<ExtArgs>>): Prisma.Prisma__repostsClient<runtime.Types.Result.GetResult<Prisma.$repostsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Reposts 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 {repostsFindFirstOrThrowArgs} args - Arguments to find a Reposts
     * @example
     * // Get one Reposts
     * const reposts = await prisma.reposts.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends repostsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, repostsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__repostsClient<runtime.Types.Result.GetResult<Prisma.$repostsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Reposts 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 {repostsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Reposts
     * const reposts = await prisma.reposts.findMany()
     *
     * // Get first 10 Reposts
     * const reposts = await prisma.reposts.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const repostsWithIdOnly = await prisma.reposts.findMany({ select: { id: true } })
     *
     */
    findMany<T extends repostsFindManyArgs>(args?: Prisma.SelectSubset<T, repostsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$repostsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Reposts.
     * @param {repostsCreateArgs} args - Arguments to create a Reposts.
     * @example
     * // Create one Reposts
     * const Reposts = await prisma.reposts.create({
     *   data: {
     *     // ... data to create a Reposts
     *   }
     * })
     *
     */
    create<T extends repostsCreateArgs>(args: Prisma.SelectSubset<T, repostsCreateArgs<ExtArgs>>): Prisma.Prisma__repostsClient<runtime.Types.Result.GetResult<Prisma.$repostsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Reposts.
     * @param {repostsCreateManyArgs} args - Arguments to create many Reposts.
     * @example
     * // Create many Reposts
     * const reposts = await prisma.reposts.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends repostsCreateManyArgs>(args?: Prisma.SelectSubset<T, repostsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Reposts and returns the data saved in the database.
     * @param {repostsCreateManyAndReturnArgs} args - Arguments to create many Reposts.
     * @example
     * // Create many Reposts
     * const reposts = await prisma.reposts.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Reposts and only return the `id`
     * const repostsWithIdOnly = await prisma.reposts.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 repostsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, repostsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$repostsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Reposts.
     * @param {repostsDeleteArgs} args - Arguments to delete one Reposts.
     * @example
     * // Delete one Reposts
     * const Reposts = await prisma.reposts.delete({
     *   where: {
     *     // ... filter to delete one Reposts
     *   }
     * })
     *
     */
    delete<T extends repostsDeleteArgs>(args: Prisma.SelectSubset<T, repostsDeleteArgs<ExtArgs>>): Prisma.Prisma__repostsClient<runtime.Types.Result.GetResult<Prisma.$repostsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Reposts.
     * @param {repostsUpdateArgs} args - Arguments to update one Reposts.
     * @example
     * // Update one Reposts
     * const reposts = await prisma.reposts.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends repostsUpdateArgs>(args: Prisma.SelectSubset<T, repostsUpdateArgs<ExtArgs>>): Prisma.Prisma__repostsClient<runtime.Types.Result.GetResult<Prisma.$repostsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Reposts.
     * @param {repostsDeleteManyArgs} args - Arguments to filter Reposts to delete.
     * @example
     * // Delete a few Reposts
     * const { count } = await prisma.reposts.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends repostsDeleteManyArgs>(args?: Prisma.SelectSubset<T, repostsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Reposts.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {repostsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Reposts
     * const reposts = await prisma.reposts.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends repostsUpdateManyArgs>(args: Prisma.SelectSubset<T, repostsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Reposts and returns the data updated in the database.
     * @param {repostsUpdateManyAndReturnArgs} args - Arguments to update many Reposts.
     * @example
     * // Update many Reposts
     * const reposts = await prisma.reposts.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Reposts and only return the `id`
     * const repostsWithIdOnly = await prisma.reposts.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 repostsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, repostsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$repostsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Reposts.
     * @param {repostsUpsertArgs} args - Arguments to update or create a Reposts.
     * @example
     * // Update or create a Reposts
     * const reposts = await prisma.reposts.upsert({
     *   create: {
     *     // ... data to create a Reposts
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Reposts we want to update
     *   }
     * })
     */
    upsert<T extends repostsUpsertArgs>(args: Prisma.SelectSubset<T, repostsUpsertArgs<ExtArgs>>): Prisma.Prisma__repostsClient<runtime.Types.Result.GetResult<Prisma.$repostsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Reposts.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {repostsCountArgs} args - Arguments to filter Reposts to count.
     * @example
     * // Count the number of Reposts
     * const count = await prisma.reposts.count({
     *   where: {
     *     // ... the filter for the Reposts we want to count
     *   }
     * })
    **/
    count<T extends repostsCountArgs>(args?: Prisma.Subset<T, repostsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], RepostsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Reposts.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {RepostsAggregateArgs} 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 RepostsAggregateArgs>(args: Prisma.Subset<T, RepostsAggregateArgs>): Prisma.PrismaPromise<GetRepostsAggregateType<T>>;
    /**
     * Group by Reposts.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {repostsGroupByArgs} 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 repostsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: repostsGroupByArgs['orderBy'];
    } : {
        orderBy?: repostsGroupByArgs['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, repostsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRepostsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the reposts model
     */
    readonly fields: repostsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for reposts.
 * 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__repostsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    /**
     * 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 reposts model
 */
export interface repostsFieldRefs {
    readonly id: Prisma.FieldRef<"reposts", 'BigInt'>;
    readonly post_id: Prisma.FieldRef<"reposts", 'Int'>;
    readonly user_id: Prisma.FieldRef<"reposts", 'String'>;
    readonly created_at: Prisma.FieldRef<"reposts", 'DateTime'>;
}
/**
 * reposts findUnique
 */
export type repostsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the reposts
     */
    select?: Prisma.repostsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the reposts
     */
    omit?: Prisma.repostsOmit<ExtArgs> | null;
    /**
     * Filter, which reposts to fetch.
     */
    where: Prisma.repostsWhereUniqueInput;
};
/**
 * reposts findUniqueOrThrow
 */
export type repostsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the reposts
     */
    select?: Prisma.repostsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the reposts
     */
    omit?: Prisma.repostsOmit<ExtArgs> | null;
    /**
     * Filter, which reposts to fetch.
     */
    where: Prisma.repostsWhereUniqueInput;
};
/**
 * reposts findFirst
 */
export type repostsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the reposts
     */
    select?: Prisma.repostsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the reposts
     */
    omit?: Prisma.repostsOmit<ExtArgs> | null;
    /**
     * Filter, which reposts to fetch.
     */
    where?: Prisma.repostsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of reposts to fetch.
     */
    orderBy?: Prisma.repostsOrderByWithRelationInput | Prisma.repostsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for reposts.
     */
    cursor?: Prisma.repostsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` reposts 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` reposts.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of reposts.
     */
    distinct?: Prisma.RepostsScalarFieldEnum | Prisma.RepostsScalarFieldEnum[];
};
/**
 * reposts findFirstOrThrow
 */
export type repostsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the reposts
     */
    select?: Prisma.repostsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the reposts
     */
    omit?: Prisma.repostsOmit<ExtArgs> | null;
    /**
     * Filter, which reposts to fetch.
     */
    where?: Prisma.repostsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of reposts to fetch.
     */
    orderBy?: Prisma.repostsOrderByWithRelationInput | Prisma.repostsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for reposts.
     */
    cursor?: Prisma.repostsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` reposts 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` reposts.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of reposts.
     */
    distinct?: Prisma.RepostsScalarFieldEnum | Prisma.RepostsScalarFieldEnum[];
};
/**
 * reposts findMany
 */
export type repostsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the reposts
     */
    select?: Prisma.repostsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the reposts
     */
    omit?: Prisma.repostsOmit<ExtArgs> | null;
    /**
     * Filter, which reposts to fetch.
     */
    where?: Prisma.repostsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of reposts to fetch.
     */
    orderBy?: Prisma.repostsOrderByWithRelationInput | Prisma.repostsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing reposts.
     */
    cursor?: Prisma.repostsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` reposts 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` reposts.
     */
    skip?: number;
    distinct?: Prisma.RepostsScalarFieldEnum | Prisma.RepostsScalarFieldEnum[];
};
/**
 * reposts create
 */
export type repostsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the reposts
     */
    select?: Prisma.repostsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the reposts
     */
    omit?: Prisma.repostsOmit<ExtArgs> | null;
    /**
     * The data needed to create a reposts.
     */
    data: Prisma.XOR<Prisma.repostsCreateInput, Prisma.repostsUncheckedCreateInput>;
};
/**
 * reposts createMany
 */
export type repostsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many reposts.
     */
    data: Prisma.repostsCreateManyInput | Prisma.repostsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * reposts createManyAndReturn
 */
export type repostsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the reposts
     */
    select?: Prisma.repostsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the reposts
     */
    omit?: Prisma.repostsOmit<ExtArgs> | null;
    /**
     * The data used to create many reposts.
     */
    data: Prisma.repostsCreateManyInput | Prisma.repostsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * reposts update
 */
export type repostsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the reposts
     */
    select?: Prisma.repostsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the reposts
     */
    omit?: Prisma.repostsOmit<ExtArgs> | null;
    /**
     * The data needed to update a reposts.
     */
    data: Prisma.XOR<Prisma.repostsUpdateInput, Prisma.repostsUncheckedUpdateInput>;
    /**
     * Choose, which reposts to update.
     */
    where: Prisma.repostsWhereUniqueInput;
};
/**
 * reposts updateMany
 */
export type repostsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update reposts.
     */
    data: Prisma.XOR<Prisma.repostsUpdateManyMutationInput, Prisma.repostsUncheckedUpdateManyInput>;
    /**
     * Filter which reposts to update
     */
    where?: Prisma.repostsWhereInput;
    /**
     * Limit how many reposts to update.
     */
    limit?: number;
};
/**
 * reposts updateManyAndReturn
 */
export type repostsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the reposts
     */
    select?: Prisma.repostsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the reposts
     */
    omit?: Prisma.repostsOmit<ExtArgs> | null;
    /**
     * The data used to update reposts.
     */
    data: Prisma.XOR<Prisma.repostsUpdateManyMutationInput, Prisma.repostsUncheckedUpdateManyInput>;
    /**
     * Filter which reposts to update
     */
    where?: Prisma.repostsWhereInput;
    /**
     * Limit how many reposts to update.
     */
    limit?: number;
};
/**
 * reposts upsert
 */
export type repostsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the reposts
     */
    select?: Prisma.repostsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the reposts
     */
    omit?: Prisma.repostsOmit<ExtArgs> | null;
    /**
     * The filter to search for the reposts to update in case it exists.
     */
    where: Prisma.repostsWhereUniqueInput;
    /**
     * In case the reposts found by the `where` argument doesn't exist, create a new reposts with this data.
     */
    create: Prisma.XOR<Prisma.repostsCreateInput, Prisma.repostsUncheckedCreateInput>;
    /**
     * In case the reposts was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.repostsUpdateInput, Prisma.repostsUncheckedUpdateInput>;
};
/**
 * reposts delete
 */
export type repostsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the reposts
     */
    select?: Prisma.repostsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the reposts
     */
    omit?: Prisma.repostsOmit<ExtArgs> | null;
    /**
     * Filter which reposts to delete.
     */
    where: Prisma.repostsWhereUniqueInput;
};
/**
 * reposts deleteMany
 */
export type repostsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which reposts to delete
     */
    where?: Prisma.repostsWhereInput;
    /**
     * Limit how many reposts to delete.
     */
    limit?: number;
};
/**
 * reposts without action
 */
export type repostsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the reposts
     */
    select?: Prisma.repostsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the reposts
     */
    omit?: Prisma.repostsOmit<ExtArgs> | null;
};
export {};
