/**
 * AppPermission 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 { AppPermissionWithRelations, AppPermissionSelect, AppPermissionFilter, AppPermissionOrderBy, CreateAppPermissionInput, AppPermissionPatch } from '../input-types';
export declare class AppPermissionModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends AppPermissionSelect>(args: FindManyArgs<S, AppPermissionFilter, AppPermissionOrderBy> & {
        select: S;
    } & StrictSelect<S, AppPermissionSelect>): QueryBuilder<{
        appPermissions: ConnectionResult<InferSelectResult<AppPermissionWithRelations, S>>;
    }>;
    findFirst<S extends AppPermissionSelect>(args: FindFirstArgs<S, AppPermissionFilter, AppPermissionOrderBy> & {
        select: S;
    } & StrictSelect<S, AppPermissionSelect>): QueryBuilder<{
        appPermission: InferSelectResult<AppPermissionWithRelations, S> | null;
    }>;
    findOne<S extends AppPermissionSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, AppPermissionSelect>): QueryBuilder<{
        appPermission: InferSelectResult<AppPermissionWithRelations, S> | null;
    }>;
    create<S extends AppPermissionSelect>(args: CreateArgs<S, CreateAppPermissionInput['appPermission']> & {
        select: S;
    } & StrictSelect<S, AppPermissionSelect>): QueryBuilder<{
        createAppPermission: {
            appPermission: InferSelectResult<AppPermissionWithRelations, S>;
        };
    }>;
    update<S extends AppPermissionSelect>(args: UpdateArgs<S, {
        id: string;
    }, AppPermissionPatch> & {
        select: S;
    } & StrictSelect<S, AppPermissionSelect>): QueryBuilder<{
        updateAppPermission: {
            appPermission: InferSelectResult<AppPermissionWithRelations, S>;
        };
    }>;
    delete<S extends AppPermissionSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, AppPermissionSelect>): QueryBuilder<{
        deleteAppPermission: {
            appPermission: InferSelectResult<AppPermissionWithRelations, S>;
        };
    }>;
}
