/**
 * TableGrant 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 { TableGrantWithRelations, TableGrantSelect, TableGrantFilter, TableGrantOrderBy, CreateTableGrantInput, TableGrantPatch } from '../input-types';
export declare class TableGrantModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends TableGrantSelect>(args: FindManyArgs<S, TableGrantFilter, TableGrantOrderBy> & {
        select: S;
    } & StrictSelect<S, TableGrantSelect>): QueryBuilder<{
        tableGrants: ConnectionResult<InferSelectResult<TableGrantWithRelations, S>>;
    }>;
    findFirst<S extends TableGrantSelect>(args: FindFirstArgs<S, TableGrantFilter, TableGrantOrderBy> & {
        select: S;
    } & StrictSelect<S, TableGrantSelect>): QueryBuilder<{
        tableGrant: InferSelectResult<TableGrantWithRelations, S> | null;
    }>;
    findOne<S extends TableGrantSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, TableGrantSelect>): QueryBuilder<{
        tableGrant: InferSelectResult<TableGrantWithRelations, S> | null;
    }>;
    create<S extends TableGrantSelect>(args: CreateArgs<S, CreateTableGrantInput['tableGrant']> & {
        select: S;
    } & StrictSelect<S, TableGrantSelect>): QueryBuilder<{
        createTableGrant: {
            tableGrant: InferSelectResult<TableGrantWithRelations, S>;
        };
    }>;
    update<S extends TableGrantSelect>(args: UpdateArgs<S, {
        id: string;
    }, TableGrantPatch> & {
        select: S;
    } & StrictSelect<S, TableGrantSelect>): QueryBuilder<{
        updateTableGrant: {
            tableGrant: InferSelectResult<TableGrantWithRelations, S>;
        };
    }>;
    delete<S extends TableGrantSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, TableGrantSelect>): QueryBuilder<{
        deleteTableGrant: {
            tableGrant: InferSelectResult<TableGrantWithRelations, S>;
        };
    }>;
}
