import { TSESLint } from "@typescript-eslint/utils"; type MessageId = "no-program" | "package" | "package:reexport" | "private" | "private:reexport"; export type JSDocRuleOptions = { /** * Whether importing a package-private exports from `index.ts` in a subdirectory. */ indexLoophole: boolean; /** * Whether importing a package-private exports in a directory from a file of same name. */ filenameLoophole: boolean; /** * Whether packages importability is restricted to public exports only or not. */ defaultImportability: "public" | "package" | "private"; /** * Whether to treat self-reference as internal or external. * When `external`, imports using the self-referencing feature of Node.js are * treated as imports from external packages, meaning that they bypass * the importability check. */ treatSelfReferenceAs: "internal" | "external"; /** * Array of glob patterns for source paths to exclude from the importability check. * Useful for excluding generated files or auto-generated type definitions. */ excludeSourcePatterns?: string[]; /** * Array of glob patterns that specify which directories should be treated as package boundaries. * By default, all directories are treated as package boundaries. * Use negation patterns (e.g., "!**\/_internal") to exclude certain directories from being package boundaries. * Example: ["**", "!**\/_internal"] treats all directories as packages except those named "_internal". */ packageDirectory?: string[]; }; declare const jsdocRule: Omit?]>, "docs">; export default jsdocRule; export declare function jsDocRuleDefaultOptions(options: Partial | undefined): JSDocRuleOptions;