/**
 * PermissionsModule 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 { PermissionsModuleWithRelations, PermissionsModuleSelect, PermissionsModuleFilter, PermissionsModuleOrderBy, CreatePermissionsModuleInput, PermissionsModulePatch } from '../input-types';
export declare class PermissionsModuleModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends PermissionsModuleSelect>(args: FindManyArgs<S, PermissionsModuleFilter, PermissionsModuleOrderBy> & {
        select: S;
    } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
        permissionsModules: ConnectionResult<InferSelectResult<PermissionsModuleWithRelations, S>>;
    }>;
    findFirst<S extends PermissionsModuleSelect>(args: FindFirstArgs<S, PermissionsModuleFilter, PermissionsModuleOrderBy> & {
        select: S;
    } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
        permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S> | null;
    }>;
    findOne<S extends PermissionsModuleSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
        permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S> | null;
    }>;
    create<S extends PermissionsModuleSelect>(args: CreateArgs<S, CreatePermissionsModuleInput['permissionsModule']> & {
        select: S;
    } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
        createPermissionsModule: {
            permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S>;
        };
    }>;
    update<S extends PermissionsModuleSelect>(args: UpdateArgs<S, {
        id: string;
    }, PermissionsModulePatch> & {
        select: S;
    } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
        updatePermissionsModule: {
            permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S>;
        };
    }>;
    delete<S extends PermissionsModuleSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, PermissionsModuleSelect>): QueryBuilder<{
        deletePermissionsModule: {
            permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S>;
        };
    }>;
}
