import { CypherType, CypherBaseType, CypherArrayType } from "../../common/interfaces/entity.schema.interface"; /** * OpenAPI Schema Object subset used for type mapping. * Compatible with @nestjs/swagger SchemaObject. */ export interface OpenApiSchemaObject { type?: string; format?: string; items?: OpenApiSchemaObject | OpenApiRefObject; additionalProperties?: boolean; $ref?: string; } /** * OpenAPI Reference Object for schema references. */ export interface OpenApiRefObject { $ref: string; } /** * Maps a Neo4j/Cypher type to an OpenAPI schema object. * Handles both scalar types and array types. */ export declare function cypherTypeToOpenApi(cypherType: CypherType): OpenApiSchemaObject; /** * Type guard to check if a CypherType is an array type. */ export declare function isArrayType(cypherType: CypherType): cypherType is CypherArrayType; /** * Extracts the base type from an array type. */ export declare function getBaseType(cypherType: CypherArrayType): CypherBaseType; //# sourceMappingURL=cypher-to-openapi.util.d.ts.map