/**
 * ViewRule 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 { ViewRuleWithRelations, ViewRuleSelect, ViewRuleFilter, ViewRuleOrderBy, CreateViewRuleInput, ViewRulePatch } from '../input-types';
export declare class ViewRuleModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends ViewRuleSelect>(args: FindManyArgs<S, ViewRuleFilter, ViewRuleOrderBy> & {
        select: S;
    } & StrictSelect<S, ViewRuleSelect>): QueryBuilder<{
        viewRules: ConnectionResult<InferSelectResult<ViewRuleWithRelations, S>>;
    }>;
    findFirst<S extends ViewRuleSelect>(args: FindFirstArgs<S, ViewRuleFilter> & {
        select: S;
    } & StrictSelect<S, ViewRuleSelect>): QueryBuilder<{
        viewRules: {
            nodes: InferSelectResult<ViewRuleWithRelations, S>[];
        };
    }>;
    findOne<S extends ViewRuleSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, ViewRuleSelect>): QueryBuilder<{
        viewRule: InferSelectResult<ViewRuleWithRelations, S> | null;
    }>;
    create<S extends ViewRuleSelect>(args: CreateArgs<S, CreateViewRuleInput['viewRule']> & {
        select: S;
    } & StrictSelect<S, ViewRuleSelect>): QueryBuilder<{
        createViewRule: {
            viewRule: InferSelectResult<ViewRuleWithRelations, S>;
        };
    }>;
    update<S extends ViewRuleSelect>(args: UpdateArgs<S, {
        id: string;
    }, ViewRulePatch> & {
        select: S;
    } & StrictSelect<S, ViewRuleSelect>): QueryBuilder<{
        updateViewRule: {
            viewRule: InferSelectResult<ViewRuleWithRelations, S>;
        };
    }>;
    delete<S extends ViewRuleSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, ViewRuleSelect>): QueryBuilder<{
        deleteViewRule: {
            viewRule: InferSelectResult<ViewRuleWithRelations, S>;
        };
    }>;
}
