/**
 * RoleType 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 { RoleTypeWithRelations, RoleTypeSelect, RoleTypeFilter, RoleTypeOrderBy, CreateRoleTypeInput, RoleTypePatch } from '../input-types';
export declare class RoleTypeModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends RoleTypeSelect>(args: FindManyArgs<S, RoleTypeFilter, RoleTypeOrderBy> & {
        select: S;
    } & StrictSelect<S, RoleTypeSelect>): QueryBuilder<{
        roleTypes: ConnectionResult<InferSelectResult<RoleTypeWithRelations, S>>;
    }>;
    findFirst<S extends RoleTypeSelect>(args: FindFirstArgs<S, RoleTypeFilter> & {
        select: S;
    } & StrictSelect<S, RoleTypeSelect>): QueryBuilder<{
        roleTypes: {
            nodes: InferSelectResult<RoleTypeWithRelations, S>[];
        };
    }>;
    findOne<S extends RoleTypeSelect>(args: {
        id: number;
        select: S;
    } & StrictSelect<S, RoleTypeSelect>): QueryBuilder<{
        roleType: InferSelectResult<RoleTypeWithRelations, S> | null;
    }>;
    create<S extends RoleTypeSelect>(args: CreateArgs<S, CreateRoleTypeInput['roleType']> & {
        select: S;
    } & StrictSelect<S, RoleTypeSelect>): QueryBuilder<{
        createRoleType: {
            roleType: InferSelectResult<RoleTypeWithRelations, S>;
        };
    }>;
    update<S extends RoleTypeSelect>(args: UpdateArgs<S, {
        id: number;
    }, RoleTypePatch> & {
        select: S;
    } & StrictSelect<S, RoleTypeSelect>): QueryBuilder<{
        updateRoleType: {
            roleType: InferSelectResult<RoleTypeWithRelations, S>;
        };
    }>;
    delete<S extends RoleTypeSelect>(args: DeleteArgs<{
        id: number;
    }, S> & {
        select: S;
    } & StrictSelect<S, RoleTypeSelect>): QueryBuilder<{
        deleteRoleType: {
            roleType: InferSelectResult<RoleTypeWithRelations, S>;
        };
    }>;
}
