import { Diagnostic } from '@codemirror/lint'; import { EditorView } from '@codemirror/view'; export interface BibtexLinterOptions { checkRequiredFields?: boolean; checkUnknownFields?: boolean; checkDuplicateKeys?: boolean; checkFieldSyntax?: boolean; checkEntryTypes?: boolean; } export declare function bibtexLinter(options?: BibtexLinterOptions): (view: EditorView) => Diagnostic[];