import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model spaces_meta_Space
 * 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 spaces_meta_SpaceModel = runtime.Types.Result.DefaultSelection<Prisma.$spaces_meta_SpacePayload>;
export type AggregateSpaces_meta_Space = {
    _count: Spaces_meta_SpaceCountAggregateOutputType | null;
    _avg: Spaces_meta_SpaceAvgAggregateOutputType | null;
    _sum: Spaces_meta_SpaceSumAggregateOutputType | null;
    _min: Spaces_meta_SpaceMinAggregateOutputType | null;
    _max: Spaces_meta_SpaceMaxAggregateOutputType | null;
};
export type Spaces_meta_SpaceAvgAggregateOutputType = {
    id: number | null;
};
export type Spaces_meta_SpaceSumAggregateOutputType = {
    id: number | null;
};
export type Spaces_meta_SpaceMinAggregateOutputType = {
    id: number | null;
};
export type Spaces_meta_SpaceMaxAggregateOutputType = {
    id: number | null;
};
export type Spaces_meta_SpaceCountAggregateOutputType = {
    id: number;
    _all: number;
};
export type Spaces_meta_SpaceAvgAggregateInputType = {
    id?: true;
};
export type Spaces_meta_SpaceSumAggregateInputType = {
    id?: true;
};
export type Spaces_meta_SpaceMinAggregateInputType = {
    id?: true;
};
export type Spaces_meta_SpaceMaxAggregateInputType = {
    id?: true;
};
export type Spaces_meta_SpaceCountAggregateInputType = {
    id?: true;
    _all?: true;
};
export type Spaces_meta_SpaceAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which spaces_meta_Space to aggregate.
     */
    where?: Prisma.spaces_meta_SpaceWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of spaces_meta_Spaces to fetch.
     */
    orderBy?: Prisma.spaces_meta_SpaceOrderByWithRelationInput | Prisma.spaces_meta_SpaceOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.spaces_meta_SpaceWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` spaces_meta_Spaces 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` spaces_meta_Spaces.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned spaces_meta_Spaces
    **/
    _count?: true | Spaces_meta_SpaceCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Spaces_meta_SpaceAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Spaces_meta_SpaceSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Spaces_meta_SpaceMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Spaces_meta_SpaceMaxAggregateInputType;
};
export type GetSpaces_meta_SpaceAggregateType<T extends Spaces_meta_SpaceAggregateArgs> = {
    [P in keyof T & keyof AggregateSpaces_meta_Space]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateSpaces_meta_Space[P]> : Prisma.GetScalarType<T[P], AggregateSpaces_meta_Space[P]>;
};
export type spaces_meta_SpaceGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.spaces_meta_SpaceWhereInput;
    orderBy?: Prisma.spaces_meta_SpaceOrderByWithAggregationInput | Prisma.spaces_meta_SpaceOrderByWithAggregationInput[];
    by: Prisma.Spaces_meta_SpaceScalarFieldEnum[] | Prisma.Spaces_meta_SpaceScalarFieldEnum;
    having?: Prisma.spaces_meta_SpaceScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Spaces_meta_SpaceCountAggregateInputType | true;
    _avg?: Spaces_meta_SpaceAvgAggregateInputType;
    _sum?: Spaces_meta_SpaceSumAggregateInputType;
    _min?: Spaces_meta_SpaceMinAggregateInputType;
    _max?: Spaces_meta_SpaceMaxAggregateInputType;
};
export type Spaces_meta_SpaceGroupByOutputType = {
    id: number;
    _count: Spaces_meta_SpaceCountAggregateOutputType | null;
    _avg: Spaces_meta_SpaceAvgAggregateOutputType | null;
    _sum: Spaces_meta_SpaceSumAggregateOutputType | null;
    _min: Spaces_meta_SpaceMinAggregateOutputType | null;
    _max: Spaces_meta_SpaceMaxAggregateOutputType | null;
};
type GetSpaces_meta_SpaceGroupByPayload<T extends spaces_meta_SpaceGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Spaces_meta_SpaceGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Spaces_meta_SpaceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Spaces_meta_SpaceGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Spaces_meta_SpaceGroupByOutputType[P]>;
}>>;
export type spaces_meta_SpaceWhereInput = {
    AND?: Prisma.spaces_meta_SpaceWhereInput | Prisma.spaces_meta_SpaceWhereInput[];
    OR?: Prisma.spaces_meta_SpaceWhereInput[];
    NOT?: Prisma.spaces_meta_SpaceWhereInput | Prisma.spaces_meta_SpaceWhereInput[];
    id?: Prisma.IntFilter<"spaces_meta_Space"> | number;
};
export type spaces_meta_SpaceOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
};
export type spaces_meta_SpaceWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.spaces_meta_SpaceWhereInput | Prisma.spaces_meta_SpaceWhereInput[];
    OR?: Prisma.spaces_meta_SpaceWhereInput[];
    NOT?: Prisma.spaces_meta_SpaceWhereInput | Prisma.spaces_meta_SpaceWhereInput[];
}, "id">;
export type spaces_meta_SpaceOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    _count?: Prisma.spaces_meta_SpaceCountOrderByAggregateInput;
    _avg?: Prisma.spaces_meta_SpaceAvgOrderByAggregateInput;
    _max?: Prisma.spaces_meta_SpaceMaxOrderByAggregateInput;
    _min?: Prisma.spaces_meta_SpaceMinOrderByAggregateInput;
    _sum?: Prisma.spaces_meta_SpaceSumOrderByAggregateInput;
};
export type spaces_meta_SpaceScalarWhereWithAggregatesInput = {
    AND?: Prisma.spaces_meta_SpaceScalarWhereWithAggregatesInput | Prisma.spaces_meta_SpaceScalarWhereWithAggregatesInput[];
    OR?: Prisma.spaces_meta_SpaceScalarWhereWithAggregatesInput[];
    NOT?: Prisma.spaces_meta_SpaceScalarWhereWithAggregatesInput | Prisma.spaces_meta_SpaceScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"spaces_meta_Space"> | number;
};
export type spaces_meta_SpaceCreateInput = {};
export type spaces_meta_SpaceUncheckedCreateInput = {
    id?: number;
};
export type spaces_meta_SpaceUpdateInput = {};
export type spaces_meta_SpaceUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
};
export type spaces_meta_SpaceCreateManyInput = {
    id?: number;
};
export type spaces_meta_SpaceUpdateManyMutationInput = {};
export type spaces_meta_SpaceUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
};
export type spaces_meta_SpaceCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
};
export type spaces_meta_SpaceAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
};
export type spaces_meta_SpaceMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
};
export type spaces_meta_SpaceMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
};
export type spaces_meta_SpaceSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
};
export type spaces_meta_SpaceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
}, ExtArgs["result"]["spaces_meta_Space"]>;
export type spaces_meta_SpaceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
}, ExtArgs["result"]["spaces_meta_Space"]>;
export type spaces_meta_SpaceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
}, ExtArgs["result"]["spaces_meta_Space"]>;
export type spaces_meta_SpaceSelectScalar = {
    id?: boolean;
};
export type spaces_meta_SpaceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id", ExtArgs["result"]["spaces_meta_Space"]>;
export type $spaces_meta_SpacePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "spaces_meta_Space";
    objects: {};
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
    }, ExtArgs["result"]["spaces_meta_Space"]>;
    composites: {};
};
export type spaces_meta_SpaceGetPayload<S extends boolean | null | undefined | spaces_meta_SpaceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$spaces_meta_SpacePayload, S>;
export type spaces_meta_SpaceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<spaces_meta_SpaceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Spaces_meta_SpaceCountAggregateInputType | true;
};
export interface spaces_meta_SpaceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['spaces_meta_Space'];
        meta: {
            name: 'spaces_meta_Space';
        };
    };
    /**
     * Find zero or one Spaces_meta_Space that matches the filter.
     * @param {spaces_meta_SpaceFindUniqueArgs} args - Arguments to find a Spaces_meta_Space
     * @example
     * // Get one Spaces_meta_Space
     * const spaces_meta_Space = await prisma.spaces_meta_Space.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends spaces_meta_SpaceFindUniqueArgs>(args: Prisma.SelectSubset<T, spaces_meta_SpaceFindUniqueArgs<ExtArgs>>): Prisma.Prisma__spaces_meta_SpaceClient<runtime.Types.Result.GetResult<Prisma.$spaces_meta_SpacePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Spaces_meta_Space that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {spaces_meta_SpaceFindUniqueOrThrowArgs} args - Arguments to find a Spaces_meta_Space
     * @example
     * // Get one Spaces_meta_Space
     * const spaces_meta_Space = await prisma.spaces_meta_Space.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends spaces_meta_SpaceFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, spaces_meta_SpaceFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__spaces_meta_SpaceClient<runtime.Types.Result.GetResult<Prisma.$spaces_meta_SpacePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Spaces_meta_Space 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 {spaces_meta_SpaceFindFirstArgs} args - Arguments to find a Spaces_meta_Space
     * @example
     * // Get one Spaces_meta_Space
     * const spaces_meta_Space = await prisma.spaces_meta_Space.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends spaces_meta_SpaceFindFirstArgs>(args?: Prisma.SelectSubset<T, spaces_meta_SpaceFindFirstArgs<ExtArgs>>): Prisma.Prisma__spaces_meta_SpaceClient<runtime.Types.Result.GetResult<Prisma.$spaces_meta_SpacePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Spaces_meta_Space 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 {spaces_meta_SpaceFindFirstOrThrowArgs} args - Arguments to find a Spaces_meta_Space
     * @example
     * // Get one Spaces_meta_Space
     * const spaces_meta_Space = await prisma.spaces_meta_Space.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends spaces_meta_SpaceFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, spaces_meta_SpaceFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__spaces_meta_SpaceClient<runtime.Types.Result.GetResult<Prisma.$spaces_meta_SpacePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Spaces_meta_Spaces 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 {spaces_meta_SpaceFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Spaces_meta_Spaces
     * const spaces_meta_Spaces = await prisma.spaces_meta_Space.findMany()
     *
     * // Get first 10 Spaces_meta_Spaces
     * const spaces_meta_Spaces = await prisma.spaces_meta_Space.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const spaces_meta_SpaceWithIdOnly = await prisma.spaces_meta_Space.findMany({ select: { id: true } })
     *
     */
    findMany<T extends spaces_meta_SpaceFindManyArgs>(args?: Prisma.SelectSubset<T, spaces_meta_SpaceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$spaces_meta_SpacePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Spaces_meta_Space.
     * @param {spaces_meta_SpaceCreateArgs} args - Arguments to create a Spaces_meta_Space.
     * @example
     * // Create one Spaces_meta_Space
     * const Spaces_meta_Space = await prisma.spaces_meta_Space.create({
     *   data: {
     *     // ... data to create a Spaces_meta_Space
     *   }
     * })
     *
     */
    create<T extends spaces_meta_SpaceCreateArgs>(args: Prisma.SelectSubset<T, spaces_meta_SpaceCreateArgs<ExtArgs>>): Prisma.Prisma__spaces_meta_SpaceClient<runtime.Types.Result.GetResult<Prisma.$spaces_meta_SpacePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Spaces_meta_Spaces.
     * @param {spaces_meta_SpaceCreateManyArgs} args - Arguments to create many Spaces_meta_Spaces.
     * @example
     * // Create many Spaces_meta_Spaces
     * const spaces_meta_Space = await prisma.spaces_meta_Space.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends spaces_meta_SpaceCreateManyArgs>(args?: Prisma.SelectSubset<T, spaces_meta_SpaceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Spaces_meta_Spaces and returns the data saved in the database.
     * @param {spaces_meta_SpaceCreateManyAndReturnArgs} args - Arguments to create many Spaces_meta_Spaces.
     * @example
     * // Create many Spaces_meta_Spaces
     * const spaces_meta_Space = await prisma.spaces_meta_Space.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Spaces_meta_Spaces and only return the `id`
     * const spaces_meta_SpaceWithIdOnly = await prisma.spaces_meta_Space.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 spaces_meta_SpaceCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, spaces_meta_SpaceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$spaces_meta_SpacePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Spaces_meta_Space.
     * @param {spaces_meta_SpaceDeleteArgs} args - Arguments to delete one Spaces_meta_Space.
     * @example
     * // Delete one Spaces_meta_Space
     * const Spaces_meta_Space = await prisma.spaces_meta_Space.delete({
     *   where: {
     *     // ... filter to delete one Spaces_meta_Space
     *   }
     * })
     *
     */
    delete<T extends spaces_meta_SpaceDeleteArgs>(args: Prisma.SelectSubset<T, spaces_meta_SpaceDeleteArgs<ExtArgs>>): Prisma.Prisma__spaces_meta_SpaceClient<runtime.Types.Result.GetResult<Prisma.$spaces_meta_SpacePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Spaces_meta_Space.
     * @param {spaces_meta_SpaceUpdateArgs} args - Arguments to update one Spaces_meta_Space.
     * @example
     * // Update one Spaces_meta_Space
     * const spaces_meta_Space = await prisma.spaces_meta_Space.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends spaces_meta_SpaceUpdateArgs>(args: Prisma.SelectSubset<T, spaces_meta_SpaceUpdateArgs<ExtArgs>>): Prisma.Prisma__spaces_meta_SpaceClient<runtime.Types.Result.GetResult<Prisma.$spaces_meta_SpacePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Spaces_meta_Spaces.
     * @param {spaces_meta_SpaceDeleteManyArgs} args - Arguments to filter Spaces_meta_Spaces to delete.
     * @example
     * // Delete a few Spaces_meta_Spaces
     * const { count } = await prisma.spaces_meta_Space.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends spaces_meta_SpaceDeleteManyArgs>(args?: Prisma.SelectSubset<T, spaces_meta_SpaceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Spaces_meta_Spaces.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {spaces_meta_SpaceUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Spaces_meta_Spaces
     * const spaces_meta_Space = await prisma.spaces_meta_Space.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends spaces_meta_SpaceUpdateManyArgs>(args: Prisma.SelectSubset<T, spaces_meta_SpaceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Spaces_meta_Spaces and returns the data updated in the database.
     * @param {spaces_meta_SpaceUpdateManyAndReturnArgs} args - Arguments to update many Spaces_meta_Spaces.
     * @example
     * // Update many Spaces_meta_Spaces
     * const spaces_meta_Space = await prisma.spaces_meta_Space.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Spaces_meta_Spaces and only return the `id`
     * const spaces_meta_SpaceWithIdOnly = await prisma.spaces_meta_Space.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 spaces_meta_SpaceUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, spaces_meta_SpaceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$spaces_meta_SpacePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Spaces_meta_Space.
     * @param {spaces_meta_SpaceUpsertArgs} args - Arguments to update or create a Spaces_meta_Space.
     * @example
     * // Update or create a Spaces_meta_Space
     * const spaces_meta_Space = await prisma.spaces_meta_Space.upsert({
     *   create: {
     *     // ... data to create a Spaces_meta_Space
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Spaces_meta_Space we want to update
     *   }
     * })
     */
    upsert<T extends spaces_meta_SpaceUpsertArgs>(args: Prisma.SelectSubset<T, spaces_meta_SpaceUpsertArgs<ExtArgs>>): Prisma.Prisma__spaces_meta_SpaceClient<runtime.Types.Result.GetResult<Prisma.$spaces_meta_SpacePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Spaces_meta_Spaces.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {spaces_meta_SpaceCountArgs} args - Arguments to filter Spaces_meta_Spaces to count.
     * @example
     * // Count the number of Spaces_meta_Spaces
     * const count = await prisma.spaces_meta_Space.count({
     *   where: {
     *     // ... the filter for the Spaces_meta_Spaces we want to count
     *   }
     * })
    **/
    count<T extends spaces_meta_SpaceCountArgs>(args?: Prisma.Subset<T, spaces_meta_SpaceCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Spaces_meta_SpaceCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Spaces_meta_Space.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Spaces_meta_SpaceAggregateArgs} 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 Spaces_meta_SpaceAggregateArgs>(args: Prisma.Subset<T, Spaces_meta_SpaceAggregateArgs>): Prisma.PrismaPromise<GetSpaces_meta_SpaceAggregateType<T>>;
    /**
     * Group by Spaces_meta_Space.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {spaces_meta_SpaceGroupByArgs} 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 spaces_meta_SpaceGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: spaces_meta_SpaceGroupByArgs['orderBy'];
    } : {
        orderBy?: spaces_meta_SpaceGroupByArgs['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, spaces_meta_SpaceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSpaces_meta_SpaceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the spaces_meta_Space model
     */
    readonly fields: spaces_meta_SpaceFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for spaces_meta_Space.
 * 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__spaces_meta_SpaceClient<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 spaces_meta_Space model
 */
export interface spaces_meta_SpaceFieldRefs {
    readonly id: Prisma.FieldRef<"spaces_meta_Space", 'Int'>;
}
/**
 * spaces_meta_Space findUnique
 */
export type spaces_meta_SpaceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_meta_Space
     */
    select?: Prisma.spaces_meta_SpaceSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_meta_Space
     */
    omit?: Prisma.spaces_meta_SpaceOmit<ExtArgs> | null;
    /**
     * Filter, which spaces_meta_Space to fetch.
     */
    where: Prisma.spaces_meta_SpaceWhereUniqueInput;
};
/**
 * spaces_meta_Space findUniqueOrThrow
 */
export type spaces_meta_SpaceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_meta_Space
     */
    select?: Prisma.spaces_meta_SpaceSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_meta_Space
     */
    omit?: Prisma.spaces_meta_SpaceOmit<ExtArgs> | null;
    /**
     * Filter, which spaces_meta_Space to fetch.
     */
    where: Prisma.spaces_meta_SpaceWhereUniqueInput;
};
/**
 * spaces_meta_Space findFirst
 */
export type spaces_meta_SpaceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_meta_Space
     */
    select?: Prisma.spaces_meta_SpaceSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_meta_Space
     */
    omit?: Prisma.spaces_meta_SpaceOmit<ExtArgs> | null;
    /**
     * Filter, which spaces_meta_Space to fetch.
     */
    where?: Prisma.spaces_meta_SpaceWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of spaces_meta_Spaces to fetch.
     */
    orderBy?: Prisma.spaces_meta_SpaceOrderByWithRelationInput | Prisma.spaces_meta_SpaceOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for spaces_meta_Spaces.
     */
    cursor?: Prisma.spaces_meta_SpaceWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` spaces_meta_Spaces 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` spaces_meta_Spaces.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of spaces_meta_Spaces.
     */
    distinct?: Prisma.Spaces_meta_SpaceScalarFieldEnum | Prisma.Spaces_meta_SpaceScalarFieldEnum[];
};
/**
 * spaces_meta_Space findFirstOrThrow
 */
export type spaces_meta_SpaceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_meta_Space
     */
    select?: Prisma.spaces_meta_SpaceSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_meta_Space
     */
    omit?: Prisma.spaces_meta_SpaceOmit<ExtArgs> | null;
    /**
     * Filter, which spaces_meta_Space to fetch.
     */
    where?: Prisma.spaces_meta_SpaceWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of spaces_meta_Spaces to fetch.
     */
    orderBy?: Prisma.spaces_meta_SpaceOrderByWithRelationInput | Prisma.spaces_meta_SpaceOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for spaces_meta_Spaces.
     */
    cursor?: Prisma.spaces_meta_SpaceWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` spaces_meta_Spaces 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` spaces_meta_Spaces.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of spaces_meta_Spaces.
     */
    distinct?: Prisma.Spaces_meta_SpaceScalarFieldEnum | Prisma.Spaces_meta_SpaceScalarFieldEnum[];
};
/**
 * spaces_meta_Space findMany
 */
export type spaces_meta_SpaceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_meta_Space
     */
    select?: Prisma.spaces_meta_SpaceSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_meta_Space
     */
    omit?: Prisma.spaces_meta_SpaceOmit<ExtArgs> | null;
    /**
     * Filter, which spaces_meta_Spaces to fetch.
     */
    where?: Prisma.spaces_meta_SpaceWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of spaces_meta_Spaces to fetch.
     */
    orderBy?: Prisma.spaces_meta_SpaceOrderByWithRelationInput | Prisma.spaces_meta_SpaceOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing spaces_meta_Spaces.
     */
    cursor?: Prisma.spaces_meta_SpaceWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` spaces_meta_Spaces 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` spaces_meta_Spaces.
     */
    skip?: number;
    distinct?: Prisma.Spaces_meta_SpaceScalarFieldEnum | Prisma.Spaces_meta_SpaceScalarFieldEnum[];
};
/**
 * spaces_meta_Space create
 */
export type spaces_meta_SpaceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_meta_Space
     */
    select?: Prisma.spaces_meta_SpaceSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_meta_Space
     */
    omit?: Prisma.spaces_meta_SpaceOmit<ExtArgs> | null;
    /**
     * The data needed to create a spaces_meta_Space.
     */
    data?: Prisma.XOR<Prisma.spaces_meta_SpaceCreateInput, Prisma.spaces_meta_SpaceUncheckedCreateInput>;
};
/**
 * spaces_meta_Space createMany
 */
export type spaces_meta_SpaceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many spaces_meta_Spaces.
     */
    data: Prisma.spaces_meta_SpaceCreateManyInput | Prisma.spaces_meta_SpaceCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * spaces_meta_Space createManyAndReturn
 */
export type spaces_meta_SpaceCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_meta_Space
     */
    select?: Prisma.spaces_meta_SpaceSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_meta_Space
     */
    omit?: Prisma.spaces_meta_SpaceOmit<ExtArgs> | null;
    /**
     * The data used to create many spaces_meta_Spaces.
     */
    data: Prisma.spaces_meta_SpaceCreateManyInput | Prisma.spaces_meta_SpaceCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * spaces_meta_Space update
 */
export type spaces_meta_SpaceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_meta_Space
     */
    select?: Prisma.spaces_meta_SpaceSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_meta_Space
     */
    omit?: Prisma.spaces_meta_SpaceOmit<ExtArgs> | null;
    /**
     * The data needed to update a spaces_meta_Space.
     */
    data: Prisma.XOR<Prisma.spaces_meta_SpaceUpdateInput, Prisma.spaces_meta_SpaceUncheckedUpdateInput>;
    /**
     * Choose, which spaces_meta_Space to update.
     */
    where: Prisma.spaces_meta_SpaceWhereUniqueInput;
};
/**
 * spaces_meta_Space updateMany
 */
export type spaces_meta_SpaceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update spaces_meta_Spaces.
     */
    data: Prisma.XOR<Prisma.spaces_meta_SpaceUpdateManyMutationInput, Prisma.spaces_meta_SpaceUncheckedUpdateManyInput>;
    /**
     * Filter which spaces_meta_Spaces to update
     */
    where?: Prisma.spaces_meta_SpaceWhereInput;
    /**
     * Limit how many spaces_meta_Spaces to update.
     */
    limit?: number;
};
/**
 * spaces_meta_Space updateManyAndReturn
 */
export type spaces_meta_SpaceUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_meta_Space
     */
    select?: Prisma.spaces_meta_SpaceSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_meta_Space
     */
    omit?: Prisma.spaces_meta_SpaceOmit<ExtArgs> | null;
    /**
     * The data used to update spaces_meta_Spaces.
     */
    data: Prisma.XOR<Prisma.spaces_meta_SpaceUpdateManyMutationInput, Prisma.spaces_meta_SpaceUncheckedUpdateManyInput>;
    /**
     * Filter which spaces_meta_Spaces to update
     */
    where?: Prisma.spaces_meta_SpaceWhereInput;
    /**
     * Limit how many spaces_meta_Spaces to update.
     */
    limit?: number;
};
/**
 * spaces_meta_Space upsert
 */
export type spaces_meta_SpaceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_meta_Space
     */
    select?: Prisma.spaces_meta_SpaceSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_meta_Space
     */
    omit?: Prisma.spaces_meta_SpaceOmit<ExtArgs> | null;
    /**
     * The filter to search for the spaces_meta_Space to update in case it exists.
     */
    where: Prisma.spaces_meta_SpaceWhereUniqueInput;
    /**
     * In case the spaces_meta_Space found by the `where` argument doesn't exist, create a new spaces_meta_Space with this data.
     */
    create: Prisma.XOR<Prisma.spaces_meta_SpaceCreateInput, Prisma.spaces_meta_SpaceUncheckedCreateInput>;
    /**
     * In case the spaces_meta_Space was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.spaces_meta_SpaceUpdateInput, Prisma.spaces_meta_SpaceUncheckedUpdateInput>;
};
/**
 * spaces_meta_Space delete
 */
export type spaces_meta_SpaceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_meta_Space
     */
    select?: Prisma.spaces_meta_SpaceSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_meta_Space
     */
    omit?: Prisma.spaces_meta_SpaceOmit<ExtArgs> | null;
    /**
     * Filter which spaces_meta_Space to delete.
     */
    where: Prisma.spaces_meta_SpaceWhereUniqueInput;
};
/**
 * spaces_meta_Space deleteMany
 */
export type spaces_meta_SpaceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which spaces_meta_Spaces to delete
     */
    where?: Prisma.spaces_meta_SpaceWhereInput;
    /**
     * Limit how many spaces_meta_Spaces to delete.
     */
    limit?: number;
};
/**
 * spaces_meta_Space without action
 */
export type spaces_meta_SpaceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_meta_Space
     */
    select?: Prisma.spaces_meta_SpaceSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_meta_Space
     */
    omit?: Prisma.spaces_meta_SpaceOmit<ExtArgs> | null;
};
export {};
