/** * Bandit config-file detection helper. * * Searches the project root for a Bandit configuration in priority order: * 1. pyproject.toml with a [tool.bandit] table * 2. .bandit (INI-style, any content) * 3. setup.cfg with a [bandit] section * * Returns the absolute path to the first match, or undefined when none exists. * Uses only fs/promises — no TOML/INI parser dependency. * * @module scanners/config-detection */ /** * Locate a Bandit configuration file for the given project root. * * The check for pyproject.toml and setup.cfg is a substring scan for the * section/table header — sufficient to detect whether the file is relevant * without a full TOML/INI parse. */ export declare function detectBanditConfig(projectPath: string): Promise; //# sourceMappingURL=config-detection.d.ts.map