/// import type { State } from "../state/state.js"; import { ChildTrait } from "../traits/child.js"; import { Entity } from "../traits/entity.js"; import { IdentityTrait } from "../traits/identity.js"; import { LabelTrait } from "../traits/label.js"; import { LocationTrait } from "../traits/location.js"; import { OwnershipTrait } from "../traits/ownership.js"; import { ParentTrait } from "../traits/parent.js"; import { SortingFunction, sortOnChildAdded } from "./utils/sorting.js"; /** * Cards placed on the table, each neatly placed at such an angle * to make every card's suit and rank visible. * * Like Pile, but you can see every card. Meant for small number of entities. * @category Entity */ export declare class Spread extends Entity { autoSort: SortingFunction; create(state: State, options?: SpreadOptions): void; childAdded: typeof sortOnChildAdded; } interface Mixin extends IdentityTrait, LocationTrait, ChildTrait, ParentTrait, LabelTrait, OwnershipTrait { } type SpreadOptions = Partial & { autoSort: SortingFunction; }>; export interface Spread extends Mixin { } export {};