import * as t from '@babel/types'; import type { SecurityIssue } from '../../types.js'; import type { SinkDefinition } from './sinks.js'; /** * Convert an AST node + matching SinkDefinition into a SecurityIssue. * * The returned issue uses node.loc.start.line (1-based) for `line`. If the * node has no loc (synthesized nodes), line falls back to 0. */ export declare function toIssue(node: t.Node, def: SinkDefinition, code: string): SecurityIssue;