/** * GraphQL detection + introspection. * * During crawl, if a GraphQL endpoint is discovered (via network observer or * known-URL heuristics), fire a minimal introspection query to get the schema. * The schema is stored in the crawl artifact for use during test generation. */ export interface GqlType { name: string; kind: string; fields?: Array<{ name: string; type: string; }>; inputFields?: Array<{ name: string; type: string; }>; enumValues?: string[]; } export interface GqlSchema { queryType?: string; mutationType?: string; subscriptionType?: string; types: GqlType[]; } export interface GqlIntrospectionResult { endpoint: string; schema: GqlSchema | null; error?: string; durationMs: number; } export declare function introspectGraphQL(endpoint: string, opts?: { headers?: Record; timeoutMs?: number; cookies?: string; }): Promise; /** Guess GraphQL endpoint URLs from a known app URL. */ export declare function guessGraphQLEndpoints(appUrl: string): string[];