import { BorshSchema } from 'borsher'; export type Parse = (buffer: Uint8Array) => T; export declare class Parser { parse: Parse; private constructor(); static json(): Parser; static borsh(schema: BorshSchema): Parser; static custom(parse: Parse): Parser; }