import { ASTValidator } from '../ast-validator'; import { DocumentNode } from 'graphql'; import { ValidationMessage } from '../../../model'; export declare const VALIDATION_ERROR_INDICES_ONLY_ON_ROOT_ENTITIES = "Indices are only allowed in root entity fields. You can add indices to fields of embedded objects with @rootEntities(indices: [...])."; export declare class IndicesValidator implements ASTValidator { validate(ast: DocumentNode): ReadonlyArray; }