import { TSESLint } from '@typescript-eslint/utils'
import { ScopedRegexOption } from '../../types/scoped-regex-option.js'
import { ObjectTypeParent } from './types.js'
/**
 * Checks if the object passes the declaration comment matches filter.
 *
 * @param params - Parameters.
 * @param params.declarationCommentMatchesPattern - The pattern to evaluate.
 * @param params.parentNodes - The parent nodes of the object type.
 * @param params.sourceCode - The source code object.
 * @returns True if the object type passes the filter, false otherwise.
 */
export declare function passesDeclarationCommentMatchesFilter({
  declarationCommentMatchesPattern,
  parentNodes,
  sourceCode,
}: {
  declarationCommentMatchesPattern: ScopedRegexOption | undefined
  parentNodes: ObjectTypeParent[]
  sourceCode: TSESLint.SourceCode
}): boolean
