import { WhereOps } from '../6-datasource/x-where'; import { GraphQLCosmosFieldFromAst, GraphQLCosmosSchemaFromAst, GraphQLCosmosTypeFromAst } from './1-ast'; export interface MetaSchema { types: MetaType[]; } export interface MetaType { cosmos: boolean; external: boolean; typename: string; database: string | null; container: string | null; fields: MetaField[]; filterable: boolean | null; sortable: boolean | null; } export interface MetaField { cosmos: boolean; fieldname: string; returnMany: boolean; returnTypename: string; container: string | null; database: string | null; ours: string | null; theirs: string | null; pagination: boolean; whereOps: WhereOps[] | null; whereOurs: string | null; sortable: boolean | null; sortOurs: string | null; } export declare function getMetaSchema(schema: GraphQLCosmosSchemaFromAst): MetaSchema; export declare function getMetaType(type: GraphQLCosmosTypeFromAst, schema: GraphQLCosmosSchemaFromAst): MetaType; export declare function getMetaField(field: GraphQLCosmosFieldFromAst, schema: GraphQLCosmosSchemaFromAst): MetaField;