/**
 * Policy 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 { PolicyWithRelations, PolicySelect, PolicyFilter, PolicyOrderBy, CreatePolicyInput, PolicyPatch } from '../input-types';
export declare class PolicyModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends PolicySelect>(args: FindManyArgs<S, PolicyFilter, PolicyOrderBy> & {
        select: S;
    } & StrictSelect<S, PolicySelect>): QueryBuilder<{
        policies: ConnectionResult<InferSelectResult<PolicyWithRelations, S>>;
    }>;
    findFirst<S extends PolicySelect>(args: FindFirstArgs<S, PolicyFilter> & {
        select: S;
    } & StrictSelect<S, PolicySelect>): QueryBuilder<{
        policies: {
            nodes: InferSelectResult<PolicyWithRelations, S>[];
        };
    }>;
    findOne<S extends PolicySelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, PolicySelect>): QueryBuilder<{
        policy: InferSelectResult<PolicyWithRelations, S> | null;
    }>;
    create<S extends PolicySelect>(args: CreateArgs<S, CreatePolicyInput['policy']> & {
        select: S;
    } & StrictSelect<S, PolicySelect>): QueryBuilder<{
        createPolicy: {
            policy: InferSelectResult<PolicyWithRelations, S>;
        };
    }>;
    update<S extends PolicySelect>(args: UpdateArgs<S, {
        id: string;
    }, PolicyPatch> & {
        select: S;
    } & StrictSelect<S, PolicySelect>): QueryBuilder<{
        updatePolicy: {
            policy: InferSelectResult<PolicyWithRelations, S>;
        };
    }>;
    delete<S extends PolicySelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, PolicySelect>): QueryBuilder<{
        deletePolicy: {
            policy: InferSelectResult<PolicyWithRelations, S>;
        };
    }>;
}
