import { Buff, Bytes } from '@cmdcode/buff';
import { MemberData, CredSignerAPI, WalletAPI } from '../types/index.js';
export declare function gen_membership(index: number, signer: CredSignerAPI, wallet: WalletAPI): MemberData;
export declare function has_membership(members: MemberData[], signer: CredSignerAPI): boolean;
export declare function get_membership(members: MemberData[], signer: CredSignerAPI): MemberData;
export declare function has_member_data(members: MemberData[], mship: MemberData): boolean;
export declare function add_member_data(members: MemberData[], mship: MemberData): MemberData[];
export declare function update_member_data(members: MemberData[], mship: MemberData): MemberData[];
export declare function rem_member_data(members: MemberData[], mship: MemberData): MemberData[];
export declare function create_endorsement(record_id: Bytes, signer: CredSignerAPI): Buff;
export declare function verify_endorsement(record_id: Bytes, signature: Bytes, throws?: boolean): boolean;
