/**
 * ResourceDefinition 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 { ResourceDefinitionWithRelations, ResourceDefinitionSelect, ResourceDefinitionFilter, ResourceDefinitionOrderBy, CreateResourceDefinitionInput, ResourceDefinitionPatch } from '../input-types';
export declare class ResourceDefinitionModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends ResourceDefinitionSelect>(args: FindManyArgs<S, ResourceDefinitionFilter, ResourceDefinitionOrderBy> & {
        select: S;
    } & StrictSelect<S, ResourceDefinitionSelect>): QueryBuilder<{
        resourceDefinitions: ConnectionResult<InferSelectResult<ResourceDefinitionWithRelations, S>>;
    }>;
    findFirst<S extends ResourceDefinitionSelect>(args: FindFirstArgs<S, ResourceDefinitionFilter, ResourceDefinitionOrderBy> & {
        select: S;
    } & StrictSelect<S, ResourceDefinitionSelect>): QueryBuilder<{
        resourceDefinition: InferSelectResult<ResourceDefinitionWithRelations, S> | null;
    }>;
    findOne<S extends ResourceDefinitionSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, ResourceDefinitionSelect>): QueryBuilder<{
        resourceDefinition: InferSelectResult<ResourceDefinitionWithRelations, S> | null;
    }>;
    create<S extends ResourceDefinitionSelect>(args: CreateArgs<S, CreateResourceDefinitionInput['resourceDefinition']> & {
        select: S;
    } & StrictSelect<S, ResourceDefinitionSelect>): QueryBuilder<{
        createResourceDefinition: {
            resourceDefinition: InferSelectResult<ResourceDefinitionWithRelations, S>;
        };
    }>;
    update<S extends ResourceDefinitionSelect>(args: UpdateArgs<S, {
        id: string;
    }, ResourceDefinitionPatch> & {
        select: S;
    } & StrictSelect<S, ResourceDefinitionSelect>): QueryBuilder<{
        updateResourceDefinition: {
            resourceDefinition: InferSelectResult<ResourceDefinitionWithRelations, S>;
        };
    }>;
    delete<S extends ResourceDefinitionSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, ResourceDefinitionSelect>): QueryBuilder<{
        deleteResourceDefinition: {
            resourceDefinition: InferSelectResult<ResourceDefinitionWithRelations, S>;
        };
    }>;
}
