import { gracely } from "gracely"; import { isoly } from "isoly"; import { http } from "cloudly-http"; import { Card } from "../Card"; export declare class Cards { private readonly client; constructor(client: http.Client); fetch(card: string): Promise; create(card: Card.Creatable): Promise; list(options?: { limit?: string; cursor?: string; }): Promise<(Card[] & { cursor?: string; }) | gracely.Error>; update(id: string, card: Card.Changeable): Promise; statistics(scheme: Card.Scheme, range: isoly.DateRange, options?: { limit?: number; cursor?: string; }): Promise<{ new: number; old: number; withTransaction: number; cursor?: string; } | gracely.Error>; }