/**
 * SpatialRelation model for ORM client
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import { OrmClient } from '../client';
import { QueryBuilder } from '../query-builder';
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
import type { SpatialRelationWithRelations, SpatialRelationSelect, SpatialRelationFilter, SpatialRelationOrderBy, CreateSpatialRelationInput, SpatialRelationPatch } from '../input-types';
export declare class SpatialRelationModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends SpatialRelationSelect>(args: FindManyArgs<S, SpatialRelationFilter, SpatialRelationOrderBy> & {
        select: S;
    } & StrictSelect<S, SpatialRelationSelect>): QueryBuilder<{
        spatialRelations: ConnectionResult<InferSelectResult<SpatialRelationWithRelations, S>>;
    }>;
    findFirst<S extends SpatialRelationSelect>(args: FindFirstArgs<S, SpatialRelationFilter> & {
        select: S;
    } & StrictSelect<S, SpatialRelationSelect>): QueryBuilder<{
        spatialRelations: {
            nodes: InferSelectResult<SpatialRelationWithRelations, S>[];
        };
    }>;
    findOne<S extends SpatialRelationSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, SpatialRelationSelect>): QueryBuilder<{
        spatialRelation: InferSelectResult<SpatialRelationWithRelations, S> | null;
    }>;
    create<S extends SpatialRelationSelect>(args: CreateArgs<S, CreateSpatialRelationInput['spatialRelation']> & {
        select: S;
    } & StrictSelect<S, SpatialRelationSelect>): QueryBuilder<{
        createSpatialRelation: {
            spatialRelation: InferSelectResult<SpatialRelationWithRelations, S>;
        };
    }>;
    update<S extends SpatialRelationSelect>(args: UpdateArgs<S, {
        id: string;
    }, SpatialRelationPatch> & {
        select: S;
    } & StrictSelect<S, SpatialRelationSelect>): QueryBuilder<{
        updateSpatialRelation: {
            spatialRelation: InferSelectResult<SpatialRelationWithRelations, S>;
        };
    }>;
    delete<S extends SpatialRelationSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, SpatialRelationSelect>): QueryBuilder<{
        deleteSpatialRelation: {
            spatialRelation: InferSelectResult<SpatialRelationWithRelations, S>;
        };
    }>;
}
