import { Finding } from './types.js'; export interface SarifOptions { /** Version reported as tool.driver.version. */ toolVersion?: string; /** * Directory that artifact URIs are made relative to (default: cwd). * GitHub code scanning requires repository-relative paths. */ baseDir?: string; /** * Extra directories tried in order when a file is not under baseDir * (e.g. the scanned target directory when it lies outside cwd). */ fallbackBaseDirs?: string[]; } /** Convert findings to SARIF 2.1.0 for GitHub code scanning and other consumers. */ export declare function toSarif(findings: Finding[], opts?: SarifOptions): object;