import { SubstrateProtocolConfiguration } from '../../../types/configuration'; import { DecoderMethod, SCALEDecodeResult } from '../SCALEDecoder'; import { SCALEEncodeConfig, SCALEType } from './SCALEType'; export declare enum SCALEOptionalType { None = 0, Some = 1 } export declare class SCALEOptional extends SCALEType { readonly value: T | undefined; static empty(): SCALEOptional; static from(value: T): SCALEOptional; static decode(configuration: C, runtimeVersion: number | undefined, hex: string, decodeValue: DecoderMethod): SCALEDecodeResult>; private readonly type; private constructor(); toString(): string; protected _encode(config?: SCALEEncodeConfig): string; }