import { extractAllImportedItems, parseImportStatement } from './imports';
import { formatComments } from './comments';
import { processClassDeclaration, processEnumDeclaration, processFunctionDeclaration, processInterfaceDeclaration, processModuleDeclaration, processTypeDeclaration, processVariableDeclaration } from './declarations';
import type { Declaration, ProcessingContext } from '../types';
/**
 * Process declarations and convert them to narrow DTS format
 */
export declare function processDeclarations(declarations: Declaration[], context: ProcessingContext, keepComments?: boolean, importOrder?: string[]): string;
// Re-export all public APIs
export { clearProcessorCaches } from './cache';
export { formatComments } from './comments';
export {
  processClassDeclaration,
  processEnumDeclaration,
  processExportDeclaration,
  processFunctionDeclaration,
  processImportDeclaration,
  processInterfaceDeclaration,
  processModuleDeclaration,
  processTypeDeclaration,
  processVariableDeclaration,
} from './declarations';
export { extractAllImportedItems, parseImportStatement } from './imports';
export {
  extractSatisfiesType,
  findMatchingBracket,
  inferArrayType,
  inferFunctionType,
  inferNarrowType,
  inferNarrowTypeInUnion,
  inferObjectType,
  isGenericType,
  parseArrayElements,
} from './type-inference';
