import * as Web3 from '@solana/web3.js'; import * as DataSource from '@staratlas/data-source'; import * as Constants from '../constants'; export type PackTiersSeedsArgs = { seedPubkey: Web3.PublicKey; packTier: number; }; export type PackTiersAccount = { version: number; crewConfig: Web3.PublicKey; seedPubkey: Web3.PublicKey; tier: number; bump: number; common: number; uncommon: number; rare: number; epic: number; legendary: number; anomaly: number; }; /** * * @param packTiers1 - The first pack tiers to compare * @param packTiers2 - The second pack tiers to compare * @returns boolean */ export declare function packTiersEquals(packTiers1: PackTiersAccount, packTiers2: PackTiersAccount): boolean; export declare class PackTiers implements DataSource.Account { private _data; private _key; static readonly ACCOUNT_NAME: NonNullable[number]['name']; static readonly MIN_DATA_SIZE: number; constructor(_data: PackTiersAccount, _key: Web3.PublicKey); get data(): Readonly; get key(): Web3.PublicKey; static decodeData(account: Web3.KeyedAccountInfo, program: Constants.CrewIDLProgram): DataSource.DecodedAccountData; /** * Find the address of the packTiers account for the given tier. * @param program - The program ID of the Crew program. * @param args - The seeds for the packTiers account. * @returns The address and bump of the packTiers account. */ static findAddress(program: Constants.CrewIDLProgram, args: PackTiersSeedsArgs): [Web3.PublicKey, number]; } //# sourceMappingURL=packTiers.d.ts.map