import type { Program, Type } from "@typespec/compiler"; import type { ResolvedProjectionField } from "./projection.js"; /** * Shared TypeSpec-type → GraphQL-type mapping, extracted verbatim from * emit-graphql-sdl.ts (issue #134) so the REST SDL emitter reuses the exact * same scalar/model mapping without touching the OpenSearch search path. */ export type GraphQLEmitContext = "response" | "filter" | "rest"; export declare function toGraphQLType(program: Program, type: Type, field?: ResolvedProjectionField, context?: GraphQLEmitContext): string; //# sourceMappingURL=graphql-types.d.ts.map