import type { MessageSourceId } from '@frequency-chain/api-augment/msa'; import type { IntentId, SchemaId } from '@frequency-chain/api-augment/schemas'; import type { Bytes, Struct, Vec, u16, u32 } from '@polkadot/types-codec'; /** @name ItemizedStoragePageResponse */ export interface ItemizedStoragePageResponse extends Struct { readonly msa_id: MessageSourceId; readonly intent_id: IntentId; readonly content_hash: PageHash; readonly nonce: PageNonce; readonly items: Vec; } /** @name ItemizedStorageResponse */ export interface ItemizedStorageResponse extends Struct { readonly index: u16; readonly schema_id: SchemaId; readonly payload: Bytes; } /** @name PageHash */ export interface PageHash extends u32 { } /** @name PageId */ export interface PageId extends u16 { } /** @name PageNonce */ export interface PageNonce extends u16 { } /** @name PaginatedStorageResponse */ export interface PaginatedStorageResponse extends Struct { readonly page_id: PageId; readonly msa_id: MessageSourceId; readonly intent_id: IntentId; readonly schema_id: SchemaId; readonly content_hash: PageHash; readonly nonce: PageNonce; readonly payload: Bytes; } export type PHANTOM_STATEFULSTORAGE = 'statefulStorage';