import type { Card, CardInput } from './card' export interface CardRepository { findAll(): Promise findById(id: string): Promise create(input: CardInput): Promise update(id: string, input: Partial): Promise delete(id: string): Promise findRandom(): Promise findRandomByTheme(theme: string): Promise findThemes(): Promise }