export { buildSchema } from './generator/utils/loading'; export declare function generateGraphQLDocuments(schema: string, options: { maxDepth?: number; useExternalFragmentForS3Object?: boolean; typenameIntrospection?: boolean; includeMetaData?: INCLUDE_META; }): GeneratedOperations>; export declare type GraphQLWithMeta = { /** * The generated graphql string. */ graphql: string; /** * E.g., `GetMyModel` or `ListMyModels`. * * This is used for generating type names. * * `undefined` for fragments. */ operationName: string | undefined; /** * `undefined` for fragments. */ operationType: 'query' | 'mutation' | 'subscription' | undefined; /** * E.g., `getMyModel` or `listMyModels`. * * It's the name of the operation that lives under Queries, Mutations, or Subscriptions * in the schema and is generally used as the key + variable name referring to the query. */ fieldName: string; }; export declare type GeneratedOperations = { queries: Map; mutations: Map; subscriptions: Map; fragments: Map; }; declare type MapValueType = INCLUDE_META extends true ? GraphQLWithMeta : string;