import { Builder, type Cell, Dictionary, type Slice } from '@ton/core'; import { PoolConfig, PoolExtra, PoolFees, PoolReward, PoolStatus } from '../types'; import { Optional } from '../../../core'; export interface PoolStorage { kind: 'dedust.cpmm.v2.PoolStorage'; config: PoolConfig; fees: PoolFees; extra: PoolExtra; rewards: Dictionary; status: PoolStatus; depositActive: boolean; swapActive: boolean; liquidity: bigint; reserveX: bigint; reserveY: bigint; } export declare namespace PoolStorage { type Input = Optional, 'fees' | 'extra' | 'rewards' | 'status' | 'depositActive' | 'swapActive' | 'liquidity' | 'reserveX' | 'reserveY'>; const create: (input: Input) => PoolStorage; const load: (source: Slice) => PoolStorage; const store: (storage: PoolStorage) => (to: Builder) => void; const fromCell: (cell: Cell) => PoolStorage; const toCell: (storage: PoolStorage) => Cell; const createCell: (input: Input) => Cell; }