/// import { deserializeUnchecked, serialize, deserialize, Schema } from 'borsh'; export declare const extendBorsh: () => void; declare type DataConstructor = { readonly SCHEMA: Schema; new (args: A): T; }; export declare class Data { constructor(args?: T); static struct(this: DataConstructor, fields: any): Map; static serialize(this: DataConstructor, args?: A): Buffer; static deserialize(this: DataConstructor, data: Buffer): T; } export declare const struct: (type: any, fields: any) => Map; export { deserialize, deserializeUnchecked, serialize };