import type { ClientWithCoreApi, SuiClientTypes } from '@mysten/sui/client'; import { Option } from '../../_dependencies/std/option/structs'; import { PhantomReified, Reified, StructClass, ToField, ToJSON, ToTypeArgument, ToTypeStr, TypeArgument } from '../../_framework/reified'; import { FieldsWithTypes } from '../../_framework/util'; export declare function isCell(type: string): boolean; export interface CellFields { element: ToField>; } export type CellReified = Reified, CellFields>; export type CellJSONField = { element: ToJSON | null; }; export type CellJSON = { $typeName: typeof Cell.$typeName; $typeArgs: [ToTypeStr]; } & CellJSONField; export declare class Cell implements StructClass { __StructClass: true; static get $typeName(): `${string}::cell::Cell`; static readonly $numTypeParams = 1; static readonly $isPhantom: readonly [false]; readonly $typeName: typeof Cell.$typeName; readonly $fullTypeName: `${string}::cell::Cell<${ToTypeStr}>`; readonly $typeArgs: [ToTypeStr]; readonly $isPhantom: typeof Cell.$isPhantom; readonly element: ToField>; private constructor(); static reified>(Element: Element): CellReified>; static get r(): typeof Cell.reified; static phantom>(Element: Element): PhantomReified>>>; static get p(): typeof Cell.phantom; private static instantiateBcs; private static cachedBcs; static get bcs(): ReturnType; static fromFields>(typeArg: Element, fields: Record): Cell>; static fromFieldsWithTypes>(typeArg: Element, item: FieldsWithTypes): Cell>; static fromBcs>(typeArg: Element, data: Uint8Array): Cell>; toJSONField(): CellJSONField; toJSON(): CellJSON; static fromJSONField>(typeArg: Element, field: any): Cell>; static fromJSON>(typeArg: Element, json: Record): Cell>; static fromCoreObject>(typeArg: Element, obj: SuiClientTypes.Object<{ content: true; }>): Cell>; static fetch>(client: ClientWithCoreApi, typeArg: Element, id: string): Promise>>; }