import { ITypeElementService } from "./i-type-element-service"; import { TypeElement } from "typescript"; import { IPropertyNameService } from "../property-name/i-property-name-service"; /** * A service for working with TypeElements */ export declare class TypeElementService implements ITypeElementService { private readonly propertyNameService; constructor(propertyNameService: IPropertyNameService); /** * Returns true if the provided TypeElement has a questionToken * @param {TypeElement} typeElement * @returns {boolean} */ isOptional(typeElement: TypeElement): boolean; /** * Returns the name of the given TypeElement * @param {TypeElement} typeElement * @returns {string} */ getName(typeElement: TypeElement): string | undefined; }