/**
 * Index 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 { IndexWithRelations, IndexSelect, IndexFilter, IndexOrderBy, CreateIndexInput, IndexPatch } from '../input-types';
export declare class IndexModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends IndexSelect>(args: FindManyArgs<S, IndexFilter, IndexOrderBy> & {
        select: S;
    } & StrictSelect<S, IndexSelect>): QueryBuilder<{
        indices: ConnectionResult<InferSelectResult<IndexWithRelations, S>>;
    }>;
    findFirst<S extends IndexSelect>(args: FindFirstArgs<S, IndexFilter, IndexOrderBy> & {
        select: S;
    } & StrictSelect<S, IndexSelect>): QueryBuilder<{
        index: InferSelectResult<IndexWithRelations, S> | null;
    }>;
    findOne<S extends IndexSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, IndexSelect>): QueryBuilder<{
        index: InferSelectResult<IndexWithRelations, S> | null;
    }>;
    create<S extends IndexSelect>(args: CreateArgs<S, CreateIndexInput['index']> & {
        select: S;
    } & StrictSelect<S, IndexSelect>): QueryBuilder<{
        createIndex: {
            index: InferSelectResult<IndexWithRelations, S>;
        };
    }>;
    update<S extends IndexSelect>(args: UpdateArgs<S, {
        id: string;
    }, IndexPatch> & {
        select: S;
    } & StrictSelect<S, IndexSelect>): QueryBuilder<{
        updateIndex: {
            index: InferSelectResult<IndexWithRelations, S>;
        };
    }>;
    delete<S extends IndexSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, IndexSelect>): QueryBuilder<{
        deleteIndex: {
            index: InferSelectResult<IndexWithRelations, S>;
        };
    }>;
}
