import { BaseTransaction, StateStore, StateStorePrepare } from './base_transaction'; import { TransactionError } from './errors'; import { TransactionJSON } from './transaction_types'; export interface DappAsset { readonly dapp: { readonly category: number; readonly link: string; readonly name: string; readonly type: number; description?: string; icon?: string; tags?: string; }; } export declare const dappAssetFormatSchema: { type: string; required: string[]; properties: { dapp: { type: string; required: string[]; properties: { icon: { type: string; format: string; maxLength: number; }; category: { type: string; minimum: number; maximum: number; }; type: { type: string; minimum: number; maximum: number; }; link: { type: string; format: string; minLength: number; maxLength: number; }; tags: { type: string; format: string; maxLength: number; }; description: { type: string; format: string; maxLength: number; }; name: { type: string; format: string; minLength: number; maxLength: number; }; }; }; }; }; export declare class DappTransaction extends BaseTransaction { readonly containsUniqueData: boolean; readonly asset: DappAsset; static TYPE: number; static FEE: string; constructor(rawTransaction: unknown); protected assetToBytes(): Buffer; prepare(store: StateStorePrepare): Promise; protected verifyAgainstTransactions(transactions: ReadonlyArray): ReadonlyArray; protected validateAsset(): ReadonlyArray; protected applyAsset(store: StateStore): ReadonlyArray; protected undoAsset(_: StateStore): ReadonlyArray; protected assetFromSync(raw: any): object | undefined; }