import { Collection, IndexSpecification } from "mongodb"; import { GraphQLObjectType, GraphQLField } from "graphql"; export declare function findAndCreateIndexes(baseType: GraphQLObjectType, collection: Collection): Promise; export declare function applyIndexes(indexes: IndexSpecification[], collection: Collection): Promise; export declare function getIndexFields(baseType: GraphQLObjectType): IndexSpecification[]; export declare function getCustomIndex(field: GraphQLField): IndexSpecification; export declare function getRelationIndex(field: GraphQLField): IndexSpecification; //# sourceMappingURL=createIndexes.d.ts.map