import { Index } from '../utils'; import { InternalDMMF } from './DmmfTypes'; export declare class DmmfDocument implements InternalDMMF.Document { datamodel: InternalDMMF.Datamodel; schema: InternalDMMF.Schema; operations: InternalDMMF.Mapping[]; queryObject: OutputType; mutationObject: OutputType; outputTypesIndex: Index; inputTypesIndex: Index; mappingsIndex: Index; enumsIndex: Index; modelsIndex: Index; inputTypesIndexWithFields: InputTypeIndexWithField; customScalars: Array; constructor({ datamodel, schema, operations }: InternalDMMF.Document); getInputType(inputTypeName: string): InternalDMMF.InputType; getInputTypeWithIndexedFields(inputTypeName: string): Omit & { fields: Index; }; getOutputType(outputTypeName: string): OutputType; hasOutputType(outputTypeName: string): boolean; getEnumType(enumTypeName: string): InternalDMMF.SchemaEnum; hasEnumType(enumTypeName: string): boolean; getModelOrThrow(modelName: string): InternalDMMF.Model; hasModel(modelName: string): boolean; getMapping(modelName: string): InternalDMMF.Mapping; } export declare class OutputType { protected outputType: InternalDMMF.OutputType; name: string; fields: InternalDMMF.SchemaField[]; isEmbedded?: boolean; constructor(outputType: InternalDMMF.OutputType); getField(fieldName: string): InternalDMMF.SchemaField; } type InputTypeIndexWithField = Index & { fields: Index; }>; export {}; //# sourceMappingURL=DmmfDocument.d.ts.map