import * as graphqlTypes from "graphql"; import StorageRegistry from "@worldbrain/storex/lib/registry"; import { FieldType, CollectionFields } from "@worldbrain/storex/lib/types"; import { AutoPkType } from "./types"; declare type CommonOptions = { autoPkType: AutoPkType; asInput?: boolean; graphql: any; }; export declare function exportSchemaTypes(storageRegistry: StorageRegistry, options: CommonOptions): graphqlTypes.GraphQLSchema; export declare function collectionsToGrapQL(storageRegistry: StorageRegistry, options: CommonOptions): { [name: string]: graphqlTypes.GraphQLType; }; export declare function storexToGrapQLFields(collectionFields: CollectionFields, options: CommonOptions): {}; export declare function storexToGraphQLFieldType(fieldType: FieldType, options: CommonOptions): any; export {};