UNPKG

anki-reader

Version:

A library for reading Anki apkg and collection files.

27 lines (26 loc) 685 B
import { type Database } from 'sql.js'; import { Deck } from './Deck.js'; import { Model } from './Model.js'; export declare class AnkiCollection { private readonly db; private crt?; private mod?; private scm?; private decks?; private version?; private config?; private models?; private dconf?; private tags?; constructor(db: Database); getDecks(): Record<string, Deck>; getCreationTime(): Date; getModificationTime(): Date; getSchemaModificationTime(): Date; getVersion(): number; getConfig(): any; getModels(): Record<string, Model>; getDconf(): any; getTags(): any; getRawCollection(): Database; }