/** * Shared helpers for type emitters — GraphQL-to-TypeScript type mapping * and common formatting utilities. */ /** * Returns `true` when `typeName` is one of the built-in GraphQL scalars * (`ID`, `String`, `Int`, `Float`, `Boolean`, `DateTime`, `BigInt`, * `Date`, `Time`, `LocalTime`, `LocalDateTime`, `Duration`, `Point`, * `CartesianPoint`). */ export declare function isBuiltInScalar(typeName: string): boolean; /** * Maps a GraphQL scalar type name to its TypeScript output representation. * * Built-in scalars → `Scalars[""]["output"]` * Enum / other types → used directly (the type name itself). */ export declare function mapScalarType(typeName: string, enums: Map): string; /** * Wraps `inner` in `Maybe<>` when the field is optional. */ export declare function wrapMaybe(inner: string, required: boolean): string; /** * Converts a field name to PascalCase (first letter uppercased). * * Examples: * - `drugs` → `Drugs` * - `hasStatus` → `HasStatus` * - `isDescribedBy` → `IsDescribedBy` */ export declare function toPascalCase(fieldName: string): string; //# sourceMappingURL=helpers.d.ts.map