import type { BaseType } from "../Type/BaseType.js"; /** * Return the new type wrapped in an annotated type with the same annotations as the original type. * @param originalType The original type. If this is an annotated type, * then the returned type will be wrapped with the same annotations. * @param newType The type to be wrapped. */ export declare function preserveAnnotation(originalType: BaseType, newType: BaseType): BaseType;