export declare function getNodeText(node: SourceRange, sourceCode: string): string;
export declare function extractLeadingCommentsFromNode(node: SourceRange): string[];
/**
 * @deprecated Use TypeScript AST-based extraction instead
 */
export declare function removeLeadingComments(text: string): string;
/**
 * @deprecated Use extractJSDocComments from extractor/helpers instead
 */
export declare function extractLeadingComments(source: string, position: number): string[];
/**
 * @deprecated Not commonly used - use inline logic instead
 */
export declare function extractTrailingComment(line: string): string | null;
/**
 * @deprecated Use findMatchingBracket from processor/type-inference instead
 */
export declare function extractBalancedSymbols(text: string, openSymbol: string, closeSymbol: string): { content: string, rest: string } | null;
/**
 * @deprecated Use TypeScript AST-based extraction instead
 */
export declare function parseFunctionDeclaration(text: string): FunctionSignature | null;
/**
 * @deprecated Use hasExportModifier from extractor/helpers instead
 */
export declare function isExportStatement(line: string): boolean;
/**
 * @deprecated Not commonly used
 */
export declare function isTypeOnlyExport(line: string): boolean;
/**
 * @deprecated Use TypeScript AST-based extraction instead
 */
export declare function parseVariableDeclaration(text: string): {
  name: string
  kind: 'const' | 'let' | 'var'
  typeAnnotation?: string
  value?: string
} | null;
declare interface SourceRange {
  pos?: number
  end?: number
  getText?: () => string
  getFullText?: () => string
}
/**
 * @deprecated Interface kept for backward compatibility
 */
export declare interface FunctionSignature {
  name: string
  generics: string
  parameters: string
  returnType: string
  modifiers: string[]
}
/**
 * Parser utilities - DEPRECATED
 *
 * This module contains legacy string-based parsing utilities.
 * Most functionality has been superseded by TypeScript AST-based extraction
 * in the extractor module.
 *
 * @deprecated Use extractor module for AST-based extraction and
 * processor/type-inference for type inference utilities.
 */
export { formatComments } from './processor/comments';
// Re-export commonly used utilities from their new locations
export { findMatchingBracket } from './processor/type-inference';
