import { At as AccessGroupConfig, r as KlawConfig } from "./types.klaw-xKUw_Rz7.js"; import { t as ChannelId } from "./channel-id.types-B_AcMzNT.js"; //#region src/plugin-sdk/access-groups.d.ts type AccessGroupMembershipResolver = (params: { cfg: KlawConfig; name: string; group: AccessGroupConfig; channel: ChannelId; accountId: string; senderId: string; }) => boolean | Promise; type AccessGroupMembershipLookup = (params: { name: string; group: AccessGroupConfig; channel: ChannelId; accountId: string; senderId: string; }) => boolean | Promise; type ResolvedAccessGroupAllowFromState = { referenced: string[]; matched: string[]; missing: string[]; unsupported: string[]; failed: string[]; matchedAllowFromEntries: string[]; hasReferences: boolean; hasMatch: boolean; }; declare function resolveAccessGroupAllowFromState(params: { accessGroups?: Record; allowFrom: Array | null | undefined; channel: ChannelId; accountId: string; senderId: string; isSenderAllowed?: (senderId: string, allowFrom: string[]) => boolean; resolveMembership?: AccessGroupMembershipLookup; }): Promise; declare function resolveAccessGroupAllowFromMatches(params: { cfg?: KlawConfig; allowFrom: Array | null | undefined; channel: ChannelId; accountId: string; senderId: string; isSenderAllowed?: (senderId: string, allowFrom: string[]) => boolean; resolveMembership?: AccessGroupMembershipResolver; }): Promise; declare function expandAllowFromWithAccessGroups(params: { cfg?: KlawConfig; allowFrom: Array | null | undefined; channel: ChannelId; accountId: string; senderId: string; senderAllowEntry?: string; isSenderAllowed?: (senderId: string, allowFrom: string[]) => boolean; resolveMembership?: AccessGroupMembershipResolver; }): Promise; //#endregion export { resolveAccessGroupAllowFromMatches as a, expandAllowFromWithAccessGroups as i, AccessGroupMembershipResolver as n, resolveAccessGroupAllowFromState as o, ResolvedAccessGroupAllowFromState as r, AccessGroupMembershipLookup as t };