import type { CoreTypeAnnotations, NodeType } from './types.js'; export declare function mergeAnnotations(nodes: Array): CoreTypeAnnotations; export declare function extractAnnotations(node: CoreTypeAnnotations): CoreTypeAnnotations; export interface StringifyAnnotationsOptions { /** * Include the comment part of the annotation */ includeComment?: boolean; /** * Format whitespace so that the comment can be either wrapped within * a \/* and *\/ boundary or prefixed with // */ formatWhitespace?: boolean; } export declare function wrapWhitespace(text: string): string; export declare function stringifyAnnotations(node: CoreTypeAnnotations, { includeComment, formatWhitespace, }?: StringifyAnnotationsOptions): string; export declare function stripAnnotations(node: T, recursive?: boolean): T; export declare function arrayOrSingle(arr: Array): T | Array; export declare function formatExamples(examples: Array): string; export declare function formatDefault(_default: string): string; export declare function formatSee(see: Array): string; export declare function stringify(value: any): string;