import type { P2PStoreAPI } from '@kubun/store-p2p'; import type { AccessRule } from './access-control.js'; export type CheckMembershipParams = { p2pStore: P2PStoreAPI; iss: string; mutationHLC: string; arrivalGroupID?: string; readRule?: AccessRule | null; routeGroupIDs?: ReadonlyArray; }; export type CheckMembershipResult = { ok: boolean; removedGroupID?: string; removedAtHLC?: string; }; /** Missing and active rows accept; removal at or before the write HLC refuses. */ export declare function checkMembership(params: CheckMembershipParams): Promise;