import { ElementBase } from "./element-kit.ts"; /** * A PILE OF CARDS ON ANY PAGE: ``, a stock to draw from or a * discard pile, its top card on top and the cards under it showing as a * stack, from neatly squared to very messy. Seeded, so the same pile always * looks the same, and a card put on top moves none of those under it. * * ```html * * * ``` * * Attributes, all optional: * cards the pile from the bottom up, its top card last: ids separated by spaces or commas, or one-letter codes * count for a face-down pile, how many cards, with no need to say which * face-down every card shows its back, and no face is in the page * messiness from 0 (squared up neatly) to 1 (very messy); unless said, 0.3 * seed the pile's own seed, a whole number; unless said, 1 * depth how many cards under the top are drawn at most; unless said, 10 * design, back, back-colour, mark, size, width, lang as on `` * @example * ```ts * import { ToranpuPile } from "@johnmorrisdotca/toranpu/element"; * console.log(ToranpuPile.observedAttributes.includes("lang")); // true * ``` */ export declare class ToranpuPile extends ElementBase { #private; get faceDown(): boolean; set faceDown(value: boolean | string | null | undefined); get "face-down"(): boolean; set "face-down"(value: boolean | string | null | undefined); get messiness(): string | null; set messiness(value: string | number | readonly string[] | null | undefined); get seed(): string | null; set seed(value: string | number | readonly string[] | null | undefined); get depth(): string | null; set depth(value: string | number | readonly string[] | null | undefined); get design(): string | null; set design(value: string | number | readonly string[] | null | undefined); get back(): string | null; set back(value: string | number | readonly string[] | null | undefined); get backColour(): string | null; set backColour(value: string | number | readonly string[] | null | undefined); get "back-colour"(): string | null; set "back-colour"(value: string | number | readonly string[] | null | undefined); get backImage(): string | null; set backImage(value: string | number | readonly string[] | null | undefined); get "back-image"(): string | null; set "back-image"(value: string | number | readonly string[] | null | undefined); get backLogo(): string | null; set backLogo(value: string | number | readonly string[] | null | undefined); get "back-logo"(): string | null; set "back-logo"(value: string | number | readonly string[] | null | undefined); get mark(): string | null; set mark(value: string | number | readonly string[] | null | undefined); get size(): string | null; set size(value: string | number | readonly string[] | null | undefined); get width(): string | null; set width(value: string | number | readonly string[] | null | undefined); get theme(): string | null; set theme(value: string | number | readonly string[] | null | undefined); get label(): string | null; set label(value: string | number | readonly string[] | null | undefined); static get observedAttributes(): readonly string[]; /** The pile's cards, bottom first. Setting them, to a list or to text such as `"3C 9D"`, draws the pile afresh. */ get cards(): string[]; set cards(cards: string | readonly string[]); /** How many cards the pile holds: its cards, or its `count` when it has none. Setting it sets the `count` attribute, for a face-down pile. */ get count(): number; set count(count: number | string); connectedCallback(): void; disconnectedCallback(): void; attributeChangedCallback(): void; }