/**
 * Resource 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 { ResourceWithRelations, ResourceSelect, ResourceFilter, ResourceOrderBy, CreateResourceInput, ResourcePatch } from '../input-types';
export declare class ResourceModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends ResourceSelect>(args: FindManyArgs<S, ResourceFilter, ResourceOrderBy> & {
        select: S;
    } & StrictSelect<S, ResourceSelect>): QueryBuilder<{
        resources: ConnectionResult<InferSelectResult<ResourceWithRelations, S>>;
    }>;
    findFirst<S extends ResourceSelect>(args: FindFirstArgs<S, ResourceFilter, ResourceOrderBy> & {
        select: S;
    } & StrictSelect<S, ResourceSelect>): QueryBuilder<{
        resource: InferSelectResult<ResourceWithRelations, S> | null;
    }>;
    findOne<S extends ResourceSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, ResourceSelect>): QueryBuilder<{
        resource: InferSelectResult<ResourceWithRelations, S> | null;
    }>;
    create<S extends ResourceSelect>(args: CreateArgs<S, CreateResourceInput['resource']> & {
        select: S;
    } & StrictSelect<S, ResourceSelect>): QueryBuilder<{
        createResource: {
            resource: InferSelectResult<ResourceWithRelations, S>;
        };
    }>;
    update<S extends ResourceSelect>(args: UpdateArgs<S, {
        id: string;
    }, ResourcePatch> & {
        select: S;
    } & StrictSelect<S, ResourceSelect>): QueryBuilder<{
        updateResource: {
            resource: InferSelectResult<ResourceWithRelations, S>;
        };
    }>;
    delete<S extends ResourceSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, ResourceSelect>): QueryBuilder<{
        deleteResource: {
            resource: InferSelectResult<ResourceWithRelations, S>;
        };
    }>;
}
