/**
 * SchemaGrant 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 { SchemaGrantWithRelations, SchemaGrantSelect, SchemaGrantFilter, SchemaGrantOrderBy, CreateSchemaGrantInput, SchemaGrantPatch } from '../input-types';
export declare class SchemaGrantModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends SchemaGrantSelect>(args: FindManyArgs<S, SchemaGrantFilter, SchemaGrantOrderBy> & {
        select: S;
    } & StrictSelect<S, SchemaGrantSelect>): QueryBuilder<{
        schemaGrants: ConnectionResult<InferSelectResult<SchemaGrantWithRelations, S>>;
    }>;
    findFirst<S extends SchemaGrantSelect>(args: FindFirstArgs<S, SchemaGrantFilter> & {
        select: S;
    } & StrictSelect<S, SchemaGrantSelect>): QueryBuilder<{
        schemaGrants: {
            nodes: InferSelectResult<SchemaGrantWithRelations, S>[];
        };
    }>;
    findOne<S extends SchemaGrantSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, SchemaGrantSelect>): QueryBuilder<{
        schemaGrant: InferSelectResult<SchemaGrantWithRelations, S> | null;
    }>;
    create<S extends SchemaGrantSelect>(args: CreateArgs<S, CreateSchemaGrantInput['schemaGrant']> & {
        select: S;
    } & StrictSelect<S, SchemaGrantSelect>): QueryBuilder<{
        createSchemaGrant: {
            schemaGrant: InferSelectResult<SchemaGrantWithRelations, S>;
        };
    }>;
    update<S extends SchemaGrantSelect>(args: UpdateArgs<S, {
        id: string;
    }, SchemaGrantPatch> & {
        select: S;
    } & StrictSelect<S, SchemaGrantSelect>): QueryBuilder<{
        updateSchemaGrant: {
            schemaGrant: InferSelectResult<SchemaGrantWithRelations, S>;
        };
    }>;
    delete<S extends SchemaGrantSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, SchemaGrantSelect>): QueryBuilder<{
        deleteSchemaGrant: {
            schemaGrant: InferSelectResult<SchemaGrantWithRelations, S>;
        };
    }>;
}
