export declare const MNEMONIC_WORD_COUNTS_VALID: readonly [12, 18, 24]; export declare const PREMIUM_MONTHS_VALID_VALUES: readonly [3, 6, 12]; export declare const STARS_PURCHASE_MIN = 50; export declare const STARS_PURCHASE_MAX = 10000000; export declare const GRAM_TOPUP_MIN = 1; export declare const GRAM_TOPUP_MAX = 1000000000; export declare const STARS_WINNERS_MIN = 1; export declare const STARS_WINNERS_MAX = 5; export declare const PREMIUM_WINNERS_MIN = 1; export declare const PREMIUM_WINNERS_MAX = 24000; export declare const STARS_GIVEAWAY_MIN = 500; export declare const STARS_GIVEAWAY_MAX = 1000000; export declare class FragmentError extends Error { constructor(message: string); } export declare class ClientError extends FragmentError { constructor(message: string); } export declare class ConfigurationError extends ClientError { static MISSING_VARS: string; static UNSUPPORTED_VERSION: string; static INVALID_MNEMONIC: string; static UNSUPPORTED_PROVIDER: string; static UNSUPPORTED_METHOD: string; static INVALID_MONTHS: string; static INVALID_STARS_AMOUNT: string; static INVALID_GRAM_AMOUNT: string; static INVALID_TON_AMOUNT: string; static INVALID_WINNERS_STARS: string; static INVALID_WINNERS_PREMIUM: string; static INVALID_STARS_PER_WINNER: string; static INVALID_PAYMENT_METHOD: string; static INVALID_GIVEAWAY_PACKAGE: string; static INVALID_GIVEAWAY_WINNERS: string; static SEED_REQUIRED: string; static TON_TOKEN_REQUIRED: string; static API_KEY_REQUIRED: string; constructor(message: string); } export declare const ConfigError: typeof ConfigurationError; export declare class CookieError extends ClientError { static READ_FAILED: string; static MISSING_KEYS: string; static UNSUPPORTED_BROWSER: string; static BROWSER_READ_FAILED: string; static MISSING_BROWSER_KEYS: string; static EXPIRED: string; constructor(message: string); } export declare class FragmentAPIError extends FragmentError { static NO_REQUEST_ID: string; constructor(message: string); } export declare class FragmentPageError extends FragmentAPIError { static BAD_STATUS: string; static HASH_NOT_FOUND: string; static ITEM_NOT_FOUND: string; constructor(message: string); } export declare class UserNotFoundError extends FragmentAPIError { static NOT_FOUND: string; static NOT_A_USER: string; constructor(message: string); } export declare class AlreadySubscribedError extends FragmentAPIError { static PREMIUM_ACTIVE: string; constructor(message: string); } export declare class AnonymousNumberError extends FragmentAPIError { static NOT_OWNED: string; static TERMINATE_FAILED: string; constructor(message: string); } export declare class TransactionError extends FragmentAPIError { static INVALID_PAYLOAD: string; static BROADCAST_FAILED: string; static BROADCAST_SSL_ERROR: string; static DUPLICATE_SEQNO: string; constructor(message: string); } export declare class ConfirmationTimeout extends TransactionError { static TIMEOUT: string; constructor(message: string); } export declare class SeqnoError extends TransactionError { static FETCH_FAILED: string; static STALE: string; constructor(message: string); } export declare class ParseError extends FragmentAPIError { static UNPARSEABLE: string; constructor(message: string); } export declare class VerificationError extends FragmentAPIError { static KYC_REQUIRED: string; constructor(message: string); } export declare class OperationError extends FragmentError { constructor(message: string); } export declare class WalletError extends OperationError { static LOW_GRAM_BALANCE: string; static LOW_TON_BALANCE: string; static LOW_USDT_BALANCE: string; static GRAM_BALANCE_CHECK_FAILED: string; static TON_BALANCE_CHECK_FAILED: string; static USDT_BALANCE_CHECK_FAILED: string; static ACCOUNT_INFO_FAILED: string; static WALLET_INFO_FAILED: string; constructor(message: string); } export declare class UnexpectedError extends OperationError { static UNEXPECTED: string; constructor(message: string); } export declare class RetryExhaustedError extends OperationError { static EXHAUSTED: string; constructor(message: string); } export declare class SessionStorageError extends OperationError { static SAVE_FAILED: string; static LOAD_FAILED: string; constructor(message: string); } export declare function fmt(template: string, params: Record): string; //# sourceMappingURL=exceptions.d.ts.map