import type { Rule } from 'eslint'; /** * Collapses a JSDoc block whose only content is a plain description onto a single line, * `/** text *\/`, normalizing interior whitespace to single spaces, as long as the result fits * within the configured print width. * * Left untouched: * - Blocks that carry any `@tag` (`@param`, `@returns`, and so on): those stay multiline. * - Blocks with a blank line in the description (deliberate multi-paragraph prose). * - Blocks whose single-line form would exceed the print width. * - Non-JSDoc block comments (a `/*` that is not `/**`) and line comments. * * The print width is read from the first rule option, defaulting to 80, so a consumer can pass * the same value used for `max-len` / prettier `printWidth`. */ declare const jsdocOneline: Rule.RuleModule; export default jsdocOneline;