UNPKG

anki-reader

Version:

A library for reading Anki apkg and collection files.

21 lines (20 loc) 546 B
import { type SqlValue } from 'sql.js'; export declare class Card { private readonly id; private readonly deckId; private readonly cardData; private noteId?; private rawFields?; private fields?; private modelId?; constructor(id: string, cardData: Record<string, SqlValue>, deckId: string); getId(): string; getDeckId(): string; getNoteId(): string; getRawFields(): string; getFields(): string[]; getFront(): string; getBack(): string; getModelId(): string; getRawCard(): any; }