import { TSerializer } from './serializePrimitives'; import { TSchema } from './schemaTypes'; export declare type TFromLongConverter = (v: LONG) => string; /** * Creates js to bytes converter for object from given schema * @param schema * @param fromLongConverter */ export declare const serializerFromSchema: (schema: TSchema, fromLongConverter?: TFromLongConverter | undefined) => TSerializer; export declare function serializeTx(tx: any, fromLongConverter?: TFromLongConverter): Uint8Array; export declare function serializeOrder(ord: any, fromLongConverter?: TFromLongConverter): Uint8Array;