import type { Node as ProseMirrorNode } from "prosemirror-model"; import { Dialog } from "fwtoolkit"; import type { Editor } from "../types.js"; interface CitationReference { id: number; prefix?: string; locator?: string; } interface CitationPlugin { init?(): Promise | void; [key: string]: any; } export declare class CitationDialog { editor: Editor; initialReferences: CitationReference[]; initialFormat: string; node: ProseMirrorNode | null; dialog: InstanceType | false; buttons: any[]; submitButtonText: string; plugins: Record | undefined; selectionTable: any; table: any; lastSort: { column: number; dir: "asc" | "desc"; }; constructor(editor: Editor); init(): Promise; activatePlugins(): Promise; createAllTableRows(): (string | number)[][]; createTableRow(bib: any, id: number, db: string): (string | number)[]; citationDialogHTML(): string; registerNewSource(): void; bibDBToBibEntry(bib: any, id: number | string, db: string): { id: number | string; db: string; bib_type: string; title: string; author: string; year: string; prefix: string; locator: string; }; addToCitableItems(ids: number[]): void; addToCitedItems(items: Array<{ id: number | string; db: string; title: string; author: string; year: string; }>): void; initTable(): void; bind(): void; dialogSubmit(): boolean; } export {}; //# sourceMappingURL=citation.d.ts.map