/**
 * Validation helper functions
 */
// Re-export hasExportModifier from graph helpers to avoid duplication
export { hasExportModifier } from "../graph/helpers.js";
/**
 * Get location information for a node
 */
export const getNodeLocation = (sourceFile, node) => {
    const { line, character } = sourceFile.getLineAndCharacterOfPosition(node.getStart());
    return {
        file: sourceFile.fileName,
        line: line + 1,
        column: character + 1,
        length: node.getWidth(),
    };
};
//# sourceMappingURL=helpers.js.map