import { Resource } from "@blizzard-api/core"; //#region src/decks/types.d.ts interface DeckResponse { cardCount: number; cards: Array; class: Class; deckCode: string; format: string; hero: Hero; heroPower: Hero; version: number; } type DeckSearchParameters = { code: string; } | { hero?: string; ids: string; }; interface Card { armor?: number; artistName: string; attack?: number; bannedFromSideboard?: number; cardSetId: number; cardTypeId: number; childIds?: Array; classId: number; collectible: number; cropImage: string; flavorText: string; health?: number; id: number; image: string; imageGold: string; isZilliaxCosmeticModule: boolean; isZilliaxFunctionalModule: boolean; keywordIds?: Array; manaCost: number; minionTypeId?: number; multiClassIds: Array; name: string; rarityId: number; slug: string; spellSchoolId?: number; text: string; } interface Class { id: number; name: string; slug: string; } interface Hero { artistName: null | string; cardSetId: number; cardTypeId: number; classId: number; collectible: number; cropImage: null; flavorText: string; health?: number; id: number; image: string; imageGold: string; isZilliaxCosmeticModule: boolean; isZilliaxFunctionalModule: boolean; manaCost: number; multiClassIds: Array; name: string; parentId: number; rarityId: null | number; slug: string; text: string; } //#endregion //#region src/decks/index.d.ts /** * Returns a deck based on the code provided. * @param options The options for fetching a deck. * @returns The deck resource. See {@link DeckResponse}. */ declare function getDeck(options: { code: string; } | { hero?: string; ids: Array; }): Resource; //#endregion export { DeckResponse as n, DeckSearchParameters as r, getDeck as t }; //# sourceMappingURL=index-BKJLD2Xh.d.ts.map