/** * Simple GraphQL HTTP client with pagination and authentication support. * Used by the GraphQL export flow to fetch data from the Constructive GraphQL API. */ import { GraphQLTypeInfo } from './graphql-naming'; interface GraphQLClientOptions { endpoint: string; token?: string; headers?: Record; } export declare class GraphQLClient { private endpoint; private defaultHeaders; constructor({ endpoint, token, headers }: GraphQLClientOptions); /** * Execute a single GraphQL query with retry for transient network errors. */ query(queryString: string, variables?: Record, retries?: number): Promise; /** * Fetch all rows from a paginated GraphQL connection, handling cursor-based pagination. * Returns all nodes across all pages. */ fetchAllNodes>(queryFieldName: string, fieldsFragment: string, condition?: Record, pageSize?: number, orderBy?: string): Promise; private buildConnectionArgs; /** * Introspect a GraphQL type to discover its fields and their types. * Used by the dynamic export flow to discover what fields are available * instead of hardcoding them in META_TABLE_CONFIG. * * Returns a Map of camelCase field name → { typeName, list, nonNull }. */ introspectType(typeName: string): Promise>; } export {};