import type _React from 'react'; import type { DocumentNode } from 'graphql'; declare global { const gql: (source: string | TemplateStringsArray | readonly string[], ...args: any[]) => DocumentNode; type React = typeof _React; interface Window { /** URL or absolute path to the GraphQL serverless function */ RWJS_API_GRAPHQL_URL: string; /** URL or absolute path to serverless functions */ RWJS_API_URL: string; __REDWOOD__APP_TITLE: string; } type GraphQLOperationVariables = Record; interface QueryOperationResult { data: TData | undefined; loading: boolean; } interface MutationOperationResult { } interface GraphQLQueryHookOptions { variables?: TVariables; [key: string]: any; } export interface GraphQLMutationHookOptions { variables?: TVariables; onCompleted?: (data: TData) => void; [key: string]: any; } } //# sourceMappingURL=global.web-auto-imports.d.ts.map