import type { AllocationCell } from "../../storage/operation"; import type { StorageAllocation } from "../../storage/StorageAllocation"; import type { WriterContext } from "../Writer"; import type { ItemOrigin } from "../../imports/source"; import type { TypeDescription } from "../../types/types"; export declare function writeSerializer(name: string, forceInline: boolean, allocation: StorageAllocation, origin: ItemOrigin, ctx: WriterContext): void; export declare function writeOptionalSerializer(name: string, origin: ItemOrigin, ctx: WriterContext): void; export declare function writeParser(type: TypeDescription, name: string, forceInline: boolean, opcode: "with-opcode" | "no-opcode", allocation: StorageAllocation, ctx: WriterContext): void; export declare function writeBouncedParser(type: TypeDescription, allocation: StorageAllocation, ctx: WriterContext): void; export declare function writeOptionalParser(name: string, origin: ItemOrigin, ctx: WriterContext): void; export declare function writeCellParser(cell: AllocationCell, type: TypeDescription | undefined, gen: number, ctx: WriterContext, prefix: string | undefined, sliceName: string | undefined): number;