anki-reader
Version:
A library for reading Anki apkg and collection files.
17 lines (16 loc) • 477 B
TypeScript
import { Card } from './Card.js';
import { type AnkiCollection } from './AnkiCollection.js';
export declare class Deck {
private readonly id;
private readonly deckJson;
private readonly collection;
private cards?;
private name?;
private desc?;
constructor(id: string, deckJson: any, collection: AnkiCollection);
getId(): string;
getCards(): Record<string, Card>;
getName(): string;
getDescription(): string;
getRawDeck(): any;
}