/*! Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. * See ./LICENSE for license information. */ import { TSDocConfiguration as TSDocumentConfiguration } from '@microsoft/tsdoc'; import type { Rule } from 'eslint'; interface ConfigFileForRule { fileNotFound: boolean; hasErrors: boolean; configureParser: (configuration: TSDocumentConfiguration) => void; getErrorSummary: () => string; } export type TsDocumentConfigLoader = (sourceFilePath: string, tsConfigRootDirectory?: string) => ConfigFileForRule; interface SyntaxRuleOptions { loadConfigForSourceFile?: TsDocumentConfigLoader; } export declare const getErrorMessage: (error: unknown) => string; export declare const createSyntaxRule: ({ loadConfigForSourceFile, }?: SyntaxRuleOptions) => Rule.RuleModule; export {}; //# sourceMappingURL=rule.d.ts.map