///
import type { AccountsCoder, Idl } from "@coral-xyz/anchor";
/**
* Parsers associated with an IDL.
*/
export type AccountParsers = {
[K in keyof M]: (data: Buffer) => M[K];
};
/**
* Creates parsers for accounts.
*
* This is intended to be called once at initialization.
*
* @param idl The IDL.
*/
export declare const generateAccountParsers: >(idl: Idl) => AccountParsers;
/**
* Creates parsers for accounts.
*
* This is intended to be called once at initialization.
*
* @param idl The IDL.
*/
export declare const generateAccountParsersFromCoder: (accountNames: string[] | undefined, coder: AccountsCoder) => AccountParsers;
//# sourceMappingURL=generateAccountParsers.d.ts.map