/** * SchemaGrant 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 { SchemaGrantWithRelations, SchemaGrantSelect, SchemaGrantFilter, SchemaGrantOrderBy, CreateSchemaGrantInput, SchemaGrantPatch } from '../input-types'; export declare class SchemaGrantModel { private client; constructor(client: OrmClient); findMany(args: FindManyArgs & { select: S; } & StrictSelect): QueryBuilder<{ schemaGrants: ConnectionResult>; }>; findFirst(args: FindFirstArgs & { select: S; } & StrictSelect): QueryBuilder<{ schemaGrant: InferSelectResult | null; }>; findOne(args: { id: string; select: S; } & StrictSelect): QueryBuilder<{ schemaGrant: InferSelectResult | null; }>; create(args: CreateArgs & { select: S; } & StrictSelect): QueryBuilder<{ createSchemaGrant: { schemaGrant: InferSelectResult; }; }>; update(args: UpdateArgs & { select: S; } & StrictSelect): QueryBuilder<{ updateSchemaGrant: { schemaGrant: InferSelectResult; }; }>; delete(args: DeleteArgs<{ id: string; }, S> & { select: S; } & StrictSelect): QueryBuilder<{ deleteSchemaGrant: { schemaGrant: InferSelectResult; }; }>; }