///
import { Connection, PublicKey } from '@solana/web3.js';
import BN from 'bn.js';
import { PackKey, PackDistributionType, PackSetState } from '..';
import { AccountAndPubkey, StringPublicKey } from '../../..';
export declare class PackSet {
key: PackKey;
store: StringPublicKey;
authority: StringPublicKey;
description: string;
uri: string;
name: string;
packCards: number;
packVouchers: number;
totalWeight?: BN;
totalEditions?: BN;
mutable: boolean;
packState: PackSetState;
distributionType: PackDistributionType;
allowedAmountToRedeem: number;
redeemStartDate: BN;
redeemEndDate?: BN;
randomOracle: StringPublicKey;
constructor(args: {
key: PackKey;
store: StringPublicKey;
authority: StringPublicKey;
description: string;
uri: string;
name: Uint8Array;
packCards: number;
packVouchers: number;
totalWeight?: BN;
totalEditions?: BN;
mutable: number;
packState: PackSetState;
distributionType: PackDistributionType;
allowedAmountToRedeem: number;
redeemStartDate: BN;
redeemEndDate?: BN;
randomOracle: StringPublicKey;
});
}
export declare const PACK_SET_SCHEMA: Map;
export declare const decodePackSet: (buffer: Buffer) => PackSet;
export declare const getPackSets: ({ connection, storeId, }: {
connection: Connection;
storeId?: PublicKey | undefined;
}) => Promise;
export declare const getPackSetByPubkey: (connection: Connection, pubkey: StringPublicKey) => Promise;
//# sourceMappingURL=PackSet.d.ts.map