import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model currencies_countries
 * 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 currencies_countriesModel = runtime.Types.Result.DefaultSelection<Prisma.$currencies_countriesPayload>;
export type AggregateCurrencies_countries = {
    _count: Currencies_countriesCountAggregateOutputType | null;
    _avg: Currencies_countriesAvgAggregateOutputType | null;
    _sum: Currencies_countriesSumAggregateOutputType | null;
    _min: Currencies_countriesMinAggregateOutputType | null;
    _max: Currencies_countriesMaxAggregateOutputType | null;
};
export type Currencies_countriesAvgAggregateOutputType = {
    id: number | null;
    countries_id: number | null;
};
export type Currencies_countriesSumAggregateOutputType = {
    id: number | null;
    countries_id: number | null;
};
export type Currencies_countriesMinAggregateOutputType = {
    id: number | null;
    countries_id: number | null;
};
export type Currencies_countriesMaxAggregateOutputType = {
    id: number | null;
    countries_id: number | null;
};
export type Currencies_countriesCountAggregateOutputType = {
    id: number;
    countries_id: number;
    _all: number;
};
export type Currencies_countriesAvgAggregateInputType = {
    id?: true;
    countries_id?: true;
};
export type Currencies_countriesSumAggregateInputType = {
    id?: true;
    countries_id?: true;
};
export type Currencies_countriesMinAggregateInputType = {
    id?: true;
    countries_id?: true;
};
export type Currencies_countriesMaxAggregateInputType = {
    id?: true;
    countries_id?: true;
};
export type Currencies_countriesCountAggregateInputType = {
    id?: true;
    countries_id?: true;
    _all?: true;
};
export type Currencies_countriesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which currencies_countries to aggregate.
     */
    where?: Prisma.currencies_countriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of currencies_countries to fetch.
     */
    orderBy?: Prisma.currencies_countriesOrderByWithRelationInput | Prisma.currencies_countriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.currencies_countriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` currencies_countries 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` currencies_countries.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned currencies_countries
    **/
    _count?: true | Currencies_countriesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Currencies_countriesAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Currencies_countriesSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Currencies_countriesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Currencies_countriesMaxAggregateInputType;
};
export type GetCurrencies_countriesAggregateType<T extends Currencies_countriesAggregateArgs> = {
    [P in keyof T & keyof AggregateCurrencies_countries]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateCurrencies_countries[P]> : Prisma.GetScalarType<T[P], AggregateCurrencies_countries[P]>;
};
export type currencies_countriesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.currencies_countriesWhereInput;
    orderBy?: Prisma.currencies_countriesOrderByWithAggregationInput | Prisma.currencies_countriesOrderByWithAggregationInput[];
    by: Prisma.Currencies_countriesScalarFieldEnum[] | Prisma.Currencies_countriesScalarFieldEnum;
    having?: Prisma.currencies_countriesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Currencies_countriesCountAggregateInputType | true;
    _avg?: Currencies_countriesAvgAggregateInputType;
    _sum?: Currencies_countriesSumAggregateInputType;
    _min?: Currencies_countriesMinAggregateInputType;
    _max?: Currencies_countriesMaxAggregateInputType;
};
export type Currencies_countriesGroupByOutputType = {
    id: number;
    countries_id: number | null;
    _count: Currencies_countriesCountAggregateOutputType | null;
    _avg: Currencies_countriesAvgAggregateOutputType | null;
    _sum: Currencies_countriesSumAggregateOutputType | null;
    _min: Currencies_countriesMinAggregateOutputType | null;
    _max: Currencies_countriesMaxAggregateOutputType | null;
};
type GetCurrencies_countriesGroupByPayload<T extends currencies_countriesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Currencies_countriesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Currencies_countriesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Currencies_countriesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Currencies_countriesGroupByOutputType[P]>;
}>>;
export type currencies_countriesWhereInput = {
    AND?: Prisma.currencies_countriesWhereInput | Prisma.currencies_countriesWhereInput[];
    OR?: Prisma.currencies_countriesWhereInput[];
    NOT?: Prisma.currencies_countriesWhereInput | Prisma.currencies_countriesWhereInput[];
    id?: Prisma.IntFilter<"currencies_countries"> | number;
    countries_id?: Prisma.IntNullableFilter<"currencies_countries"> | number | null;
};
export type currencies_countriesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    countries_id?: Prisma.SortOrderInput | Prisma.SortOrder;
};
export type currencies_countriesWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.currencies_countriesWhereInput | Prisma.currencies_countriesWhereInput[];
    OR?: Prisma.currencies_countriesWhereInput[];
    NOT?: Prisma.currencies_countriesWhereInput | Prisma.currencies_countriesWhereInput[];
    countries_id?: Prisma.IntNullableFilter<"currencies_countries"> | number | null;
}, "id">;
export type currencies_countriesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    countries_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.currencies_countriesCountOrderByAggregateInput;
    _avg?: Prisma.currencies_countriesAvgOrderByAggregateInput;
    _max?: Prisma.currencies_countriesMaxOrderByAggregateInput;
    _min?: Prisma.currencies_countriesMinOrderByAggregateInput;
    _sum?: Prisma.currencies_countriesSumOrderByAggregateInput;
};
export type currencies_countriesScalarWhereWithAggregatesInput = {
    AND?: Prisma.currencies_countriesScalarWhereWithAggregatesInput | Prisma.currencies_countriesScalarWhereWithAggregatesInput[];
    OR?: Prisma.currencies_countriesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.currencies_countriesScalarWhereWithAggregatesInput | Prisma.currencies_countriesScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"currencies_countries"> | number;
    countries_id?: Prisma.IntNullableWithAggregatesFilter<"currencies_countries"> | number | null;
};
export type currencies_countriesCreateInput = {
    countries_id?: number | null;
};
export type currencies_countriesUncheckedCreateInput = {
    id?: number;
    countries_id?: number | null;
};
export type currencies_countriesUpdateInput = {
    countries_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type currencies_countriesUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    countries_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type currencies_countriesCreateManyInput = {
    id?: number;
    countries_id?: number | null;
};
export type currencies_countriesUpdateManyMutationInput = {
    countries_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type currencies_countriesUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    countries_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type currencies_countriesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    countries_id?: Prisma.SortOrder;
};
export type currencies_countriesAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    countries_id?: Prisma.SortOrder;
};
export type currencies_countriesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    countries_id?: Prisma.SortOrder;
};
export type currencies_countriesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    countries_id?: Prisma.SortOrder;
};
export type currencies_countriesSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    countries_id?: Prisma.SortOrder;
};
export type currencies_countriesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    countries_id?: boolean;
}, ExtArgs["result"]["currencies_countries"]>;
export type currencies_countriesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    countries_id?: boolean;
}, ExtArgs["result"]["currencies_countries"]>;
export type currencies_countriesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    countries_id?: boolean;
}, ExtArgs["result"]["currencies_countries"]>;
export type currencies_countriesSelectScalar = {
    id?: boolean;
    countries_id?: boolean;
};
export type currencies_countriesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "countries_id", ExtArgs["result"]["currencies_countries"]>;
export type $currencies_countriesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "currencies_countries";
    objects: {};
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        countries_id: number | null;
    }, ExtArgs["result"]["currencies_countries"]>;
    composites: {};
};
export type currencies_countriesGetPayload<S extends boolean | null | undefined | currencies_countriesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$currencies_countriesPayload, S>;
export type currencies_countriesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<currencies_countriesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Currencies_countriesCountAggregateInputType | true;
};
export interface currencies_countriesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['currencies_countries'];
        meta: {
            name: 'currencies_countries';
        };
    };
    /**
     * Find zero or one Currencies_countries that matches the filter.
     * @param {currencies_countriesFindUniqueArgs} args - Arguments to find a Currencies_countries
     * @example
     * // Get one Currencies_countries
     * const currencies_countries = await prisma.currencies_countries.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends currencies_countriesFindUniqueArgs>(args: Prisma.SelectSubset<T, currencies_countriesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__currencies_countriesClient<runtime.Types.Result.GetResult<Prisma.$currencies_countriesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Currencies_countries that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {currencies_countriesFindUniqueOrThrowArgs} args - Arguments to find a Currencies_countries
     * @example
     * // Get one Currencies_countries
     * const currencies_countries = await prisma.currencies_countries.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends currencies_countriesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, currencies_countriesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__currencies_countriesClient<runtime.Types.Result.GetResult<Prisma.$currencies_countriesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Currencies_countries 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 {currencies_countriesFindFirstArgs} args - Arguments to find a Currencies_countries
     * @example
     * // Get one Currencies_countries
     * const currencies_countries = await prisma.currencies_countries.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends currencies_countriesFindFirstArgs>(args?: Prisma.SelectSubset<T, currencies_countriesFindFirstArgs<ExtArgs>>): Prisma.Prisma__currencies_countriesClient<runtime.Types.Result.GetResult<Prisma.$currencies_countriesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Currencies_countries 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 {currencies_countriesFindFirstOrThrowArgs} args - Arguments to find a Currencies_countries
     * @example
     * // Get one Currencies_countries
     * const currencies_countries = await prisma.currencies_countries.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends currencies_countriesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, currencies_countriesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__currencies_countriesClient<runtime.Types.Result.GetResult<Prisma.$currencies_countriesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Currencies_countries 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 {currencies_countriesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Currencies_countries
     * const currencies_countries = await prisma.currencies_countries.findMany()
     *
     * // Get first 10 Currencies_countries
     * const currencies_countries = await prisma.currencies_countries.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const currencies_countriesWithIdOnly = await prisma.currencies_countries.findMany({ select: { id: true } })
     *
     */
    findMany<T extends currencies_countriesFindManyArgs>(args?: Prisma.SelectSubset<T, currencies_countriesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$currencies_countriesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Currencies_countries.
     * @param {currencies_countriesCreateArgs} args - Arguments to create a Currencies_countries.
     * @example
     * // Create one Currencies_countries
     * const Currencies_countries = await prisma.currencies_countries.create({
     *   data: {
     *     // ... data to create a Currencies_countries
     *   }
     * })
     *
     */
    create<T extends currencies_countriesCreateArgs>(args: Prisma.SelectSubset<T, currencies_countriesCreateArgs<ExtArgs>>): Prisma.Prisma__currencies_countriesClient<runtime.Types.Result.GetResult<Prisma.$currencies_countriesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Currencies_countries.
     * @param {currencies_countriesCreateManyArgs} args - Arguments to create many Currencies_countries.
     * @example
     * // Create many Currencies_countries
     * const currencies_countries = await prisma.currencies_countries.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends currencies_countriesCreateManyArgs>(args?: Prisma.SelectSubset<T, currencies_countriesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Currencies_countries and returns the data saved in the database.
     * @param {currencies_countriesCreateManyAndReturnArgs} args - Arguments to create many Currencies_countries.
     * @example
     * // Create many Currencies_countries
     * const currencies_countries = await prisma.currencies_countries.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Currencies_countries and only return the `id`
     * const currencies_countriesWithIdOnly = await prisma.currencies_countries.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 currencies_countriesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, currencies_countriesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$currencies_countriesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Currencies_countries.
     * @param {currencies_countriesDeleteArgs} args - Arguments to delete one Currencies_countries.
     * @example
     * // Delete one Currencies_countries
     * const Currencies_countries = await prisma.currencies_countries.delete({
     *   where: {
     *     // ... filter to delete one Currencies_countries
     *   }
     * })
     *
     */
    delete<T extends currencies_countriesDeleteArgs>(args: Prisma.SelectSubset<T, currencies_countriesDeleteArgs<ExtArgs>>): Prisma.Prisma__currencies_countriesClient<runtime.Types.Result.GetResult<Prisma.$currencies_countriesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Currencies_countries.
     * @param {currencies_countriesUpdateArgs} args - Arguments to update one Currencies_countries.
     * @example
     * // Update one Currencies_countries
     * const currencies_countries = await prisma.currencies_countries.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends currencies_countriesUpdateArgs>(args: Prisma.SelectSubset<T, currencies_countriesUpdateArgs<ExtArgs>>): Prisma.Prisma__currencies_countriesClient<runtime.Types.Result.GetResult<Prisma.$currencies_countriesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Currencies_countries.
     * @param {currencies_countriesDeleteManyArgs} args - Arguments to filter Currencies_countries to delete.
     * @example
     * // Delete a few Currencies_countries
     * const { count } = await prisma.currencies_countries.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends currencies_countriesDeleteManyArgs>(args?: Prisma.SelectSubset<T, currencies_countriesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Currencies_countries.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {currencies_countriesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Currencies_countries
     * const currencies_countries = await prisma.currencies_countries.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends currencies_countriesUpdateManyArgs>(args: Prisma.SelectSubset<T, currencies_countriesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Currencies_countries and returns the data updated in the database.
     * @param {currencies_countriesUpdateManyAndReturnArgs} args - Arguments to update many Currencies_countries.
     * @example
     * // Update many Currencies_countries
     * const currencies_countries = await prisma.currencies_countries.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Currencies_countries and only return the `id`
     * const currencies_countriesWithIdOnly = await prisma.currencies_countries.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 currencies_countriesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, currencies_countriesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$currencies_countriesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Currencies_countries.
     * @param {currencies_countriesUpsertArgs} args - Arguments to update or create a Currencies_countries.
     * @example
     * // Update or create a Currencies_countries
     * const currencies_countries = await prisma.currencies_countries.upsert({
     *   create: {
     *     // ... data to create a Currencies_countries
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Currencies_countries we want to update
     *   }
     * })
     */
    upsert<T extends currencies_countriesUpsertArgs>(args: Prisma.SelectSubset<T, currencies_countriesUpsertArgs<ExtArgs>>): Prisma.Prisma__currencies_countriesClient<runtime.Types.Result.GetResult<Prisma.$currencies_countriesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Currencies_countries.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {currencies_countriesCountArgs} args - Arguments to filter Currencies_countries to count.
     * @example
     * // Count the number of Currencies_countries
     * const count = await prisma.currencies_countries.count({
     *   where: {
     *     // ... the filter for the Currencies_countries we want to count
     *   }
     * })
    **/
    count<T extends currencies_countriesCountArgs>(args?: Prisma.Subset<T, currencies_countriesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Currencies_countriesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Currencies_countries.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Currencies_countriesAggregateArgs} 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 Currencies_countriesAggregateArgs>(args: Prisma.Subset<T, Currencies_countriesAggregateArgs>): Prisma.PrismaPromise<GetCurrencies_countriesAggregateType<T>>;
    /**
     * Group by Currencies_countries.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {currencies_countriesGroupByArgs} 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 currencies_countriesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: currencies_countriesGroupByArgs['orderBy'];
    } : {
        orderBy?: currencies_countriesGroupByArgs['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, currencies_countriesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCurrencies_countriesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the currencies_countries model
     */
    readonly fields: currencies_countriesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for currencies_countries.
 * 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__currencies_countriesClient<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 currencies_countries model
 */
export interface currencies_countriesFieldRefs {
    readonly id: Prisma.FieldRef<"currencies_countries", 'Int'>;
    readonly countries_id: Prisma.FieldRef<"currencies_countries", 'Int'>;
}
/**
 * currencies_countries findUnique
 */
export type currencies_countriesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the currencies_countries
     */
    select?: Prisma.currencies_countriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the currencies_countries
     */
    omit?: Prisma.currencies_countriesOmit<ExtArgs> | null;
    /**
     * Filter, which currencies_countries to fetch.
     */
    where: Prisma.currencies_countriesWhereUniqueInput;
};
/**
 * currencies_countries findUniqueOrThrow
 */
export type currencies_countriesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the currencies_countries
     */
    select?: Prisma.currencies_countriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the currencies_countries
     */
    omit?: Prisma.currencies_countriesOmit<ExtArgs> | null;
    /**
     * Filter, which currencies_countries to fetch.
     */
    where: Prisma.currencies_countriesWhereUniqueInput;
};
/**
 * currencies_countries findFirst
 */
export type currencies_countriesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the currencies_countries
     */
    select?: Prisma.currencies_countriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the currencies_countries
     */
    omit?: Prisma.currencies_countriesOmit<ExtArgs> | null;
    /**
     * Filter, which currencies_countries to fetch.
     */
    where?: Prisma.currencies_countriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of currencies_countries to fetch.
     */
    orderBy?: Prisma.currencies_countriesOrderByWithRelationInput | Prisma.currencies_countriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for currencies_countries.
     */
    cursor?: Prisma.currencies_countriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` currencies_countries 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` currencies_countries.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of currencies_countries.
     */
    distinct?: Prisma.Currencies_countriesScalarFieldEnum | Prisma.Currencies_countriesScalarFieldEnum[];
};
/**
 * currencies_countries findFirstOrThrow
 */
export type currencies_countriesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the currencies_countries
     */
    select?: Prisma.currencies_countriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the currencies_countries
     */
    omit?: Prisma.currencies_countriesOmit<ExtArgs> | null;
    /**
     * Filter, which currencies_countries to fetch.
     */
    where?: Prisma.currencies_countriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of currencies_countries to fetch.
     */
    orderBy?: Prisma.currencies_countriesOrderByWithRelationInput | Prisma.currencies_countriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for currencies_countries.
     */
    cursor?: Prisma.currencies_countriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` currencies_countries 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` currencies_countries.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of currencies_countries.
     */
    distinct?: Prisma.Currencies_countriesScalarFieldEnum | Prisma.Currencies_countriesScalarFieldEnum[];
};
/**
 * currencies_countries findMany
 */
export type currencies_countriesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the currencies_countries
     */
    select?: Prisma.currencies_countriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the currencies_countries
     */
    omit?: Prisma.currencies_countriesOmit<ExtArgs> | null;
    /**
     * Filter, which currencies_countries to fetch.
     */
    where?: Prisma.currencies_countriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of currencies_countries to fetch.
     */
    orderBy?: Prisma.currencies_countriesOrderByWithRelationInput | Prisma.currencies_countriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing currencies_countries.
     */
    cursor?: Prisma.currencies_countriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` currencies_countries 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` currencies_countries.
     */
    skip?: number;
    distinct?: Prisma.Currencies_countriesScalarFieldEnum | Prisma.Currencies_countriesScalarFieldEnum[];
};
/**
 * currencies_countries create
 */
export type currencies_countriesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the currencies_countries
     */
    select?: Prisma.currencies_countriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the currencies_countries
     */
    omit?: Prisma.currencies_countriesOmit<ExtArgs> | null;
    /**
     * The data needed to create a currencies_countries.
     */
    data?: Prisma.XOR<Prisma.currencies_countriesCreateInput, Prisma.currencies_countriesUncheckedCreateInput>;
};
/**
 * currencies_countries createMany
 */
export type currencies_countriesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many currencies_countries.
     */
    data: Prisma.currencies_countriesCreateManyInput | Prisma.currencies_countriesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * currencies_countries createManyAndReturn
 */
export type currencies_countriesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the currencies_countries
     */
    select?: Prisma.currencies_countriesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the currencies_countries
     */
    omit?: Prisma.currencies_countriesOmit<ExtArgs> | null;
    /**
     * The data used to create many currencies_countries.
     */
    data: Prisma.currencies_countriesCreateManyInput | Prisma.currencies_countriesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * currencies_countries update
 */
export type currencies_countriesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the currencies_countries
     */
    select?: Prisma.currencies_countriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the currencies_countries
     */
    omit?: Prisma.currencies_countriesOmit<ExtArgs> | null;
    /**
     * The data needed to update a currencies_countries.
     */
    data: Prisma.XOR<Prisma.currencies_countriesUpdateInput, Prisma.currencies_countriesUncheckedUpdateInput>;
    /**
     * Choose, which currencies_countries to update.
     */
    where: Prisma.currencies_countriesWhereUniqueInput;
};
/**
 * currencies_countries updateMany
 */
export type currencies_countriesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update currencies_countries.
     */
    data: Prisma.XOR<Prisma.currencies_countriesUpdateManyMutationInput, Prisma.currencies_countriesUncheckedUpdateManyInput>;
    /**
     * Filter which currencies_countries to update
     */
    where?: Prisma.currencies_countriesWhereInput;
    /**
     * Limit how many currencies_countries to update.
     */
    limit?: number;
};
/**
 * currencies_countries updateManyAndReturn
 */
export type currencies_countriesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the currencies_countries
     */
    select?: Prisma.currencies_countriesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the currencies_countries
     */
    omit?: Prisma.currencies_countriesOmit<ExtArgs> | null;
    /**
     * The data used to update currencies_countries.
     */
    data: Prisma.XOR<Prisma.currencies_countriesUpdateManyMutationInput, Prisma.currencies_countriesUncheckedUpdateManyInput>;
    /**
     * Filter which currencies_countries to update
     */
    where?: Prisma.currencies_countriesWhereInput;
    /**
     * Limit how many currencies_countries to update.
     */
    limit?: number;
};
/**
 * currencies_countries upsert
 */
export type currencies_countriesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the currencies_countries
     */
    select?: Prisma.currencies_countriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the currencies_countries
     */
    omit?: Prisma.currencies_countriesOmit<ExtArgs> | null;
    /**
     * The filter to search for the currencies_countries to update in case it exists.
     */
    where: Prisma.currencies_countriesWhereUniqueInput;
    /**
     * In case the currencies_countries found by the `where` argument doesn't exist, create a new currencies_countries with this data.
     */
    create: Prisma.XOR<Prisma.currencies_countriesCreateInput, Prisma.currencies_countriesUncheckedCreateInput>;
    /**
     * In case the currencies_countries was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.currencies_countriesUpdateInput, Prisma.currencies_countriesUncheckedUpdateInput>;
};
/**
 * currencies_countries delete
 */
export type currencies_countriesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the currencies_countries
     */
    select?: Prisma.currencies_countriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the currencies_countries
     */
    omit?: Prisma.currencies_countriesOmit<ExtArgs> | null;
    /**
     * Filter which currencies_countries to delete.
     */
    where: Prisma.currencies_countriesWhereUniqueInput;
};
/**
 * currencies_countries deleteMany
 */
export type currencies_countriesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which currencies_countries to delete
     */
    where?: Prisma.currencies_countriesWhereInput;
    /**
     * Limit how many currencies_countries to delete.
     */
    limit?: number;
};
/**
 * currencies_countries without action
 */
export type currencies_countriesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the currencies_countries
     */
    select?: Prisma.currencies_countriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the currencies_countries
     */
    omit?: Prisma.currencies_countriesOmit<ExtArgs> | null;
};
export {};
