/// <reference types="node" />
/**
 * Calculates and returns a unique 8 byte discriminator prepended to all anchor accounts.
 * @param name The name of the account to calculate the discriminator.
 */
export declare const accountDiscriminator: (name: string) => Buffer;
/**
 * Calculates and returns a unique 8 byte discriminator prepended to all anchor instructions.
 * @param name The name of the instruction to calculate the discriminator.
 */
export declare const ixDiscriminator: (ixName: string) => Buffer;
export declare const encodeIxData: (buffer: Uint8Array | number[]) => string;
export declare const decodeIxData: (string: string) => Uint8Array;
