/**
 * Commit 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 { CommitWithRelations, CommitSelect, CommitFilter, CommitOrderBy, CreateCommitInput, CommitPatch } from '../input-types';
export declare class CommitModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends CommitSelect>(args: FindManyArgs<S, CommitFilter, CommitOrderBy> & {
        select: S;
    } & StrictSelect<S, CommitSelect>): QueryBuilder<{
        commits: ConnectionResult<InferSelectResult<CommitWithRelations, S>>;
    }>;
    findFirst<S extends CommitSelect>(args: FindFirstArgs<S, CommitFilter, CommitOrderBy> & {
        select: S;
    } & StrictSelect<S, CommitSelect>): QueryBuilder<{
        commit: InferSelectResult<CommitWithRelations, S> | null;
    }>;
    findOne<S extends CommitSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, CommitSelect>): QueryBuilder<{
        commit: InferSelectResult<CommitWithRelations, S> | null;
    }>;
    create<S extends CommitSelect>(args: CreateArgs<S, CreateCommitInput['commit']> & {
        select: S;
    } & StrictSelect<S, CommitSelect>): QueryBuilder<{
        createCommit: {
            commit: InferSelectResult<CommitWithRelations, S>;
        };
    }>;
    update<S extends CommitSelect>(args: UpdateArgs<S, {
        id: string;
    }, CommitPatch> & {
        select: S;
    } & StrictSelect<S, CommitSelect>): QueryBuilder<{
        updateCommit: {
            commit: InferSelectResult<CommitWithRelations, S>;
        };
    }>;
    delete<S extends CommitSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, CommitSelect>): QueryBuilder<{
        deleteCommit: {
            commit: InferSelectResult<CommitWithRelations, S>;
        };
    }>;
}
