anki-reader
Version:
A library for reading Anki apkg and collection files.
26 lines (25 loc) • 631 B
TypeScript
import { type Database } from 'sql.js';
import { Deck } from './Deck.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(): any;
getDconf(): any;
getTags(): any;
getRawCollection(): Database;
}