/** * @medicine-wheel/consent-lifecycle — Community Module * * Community-level consent operations: collective consent, * consensus mechanisms, and Elder endorsement. * Community consent transcends individual consent — it represents * the collective voice of the community. */ import type { ConsentRecord, ConsentScope } from './types.js'; /** * Create a community-level consent record. * Community consent represents collective agreement, not just * individual grantor/grantee relations. */ export declare function communityConsent(community: CommunityInfo, scope: ConsentScope): ConsentRecord; /** * Consensus mechanism for collective decision-making. * Collects voices and determines whether consensus is reached. */ export declare function collectiveDecision(voices: CommunityVoice[]): ConsensusResult; /** * Record Elder approval for a consent record. * Elder endorsement carries special weight in Indigenous governance. */ export declare function elderApproval(elderId: string, record: ConsentRecord, options?: ElderApprovalOptions): ConsentRecord; /** Information about the community granting consent */ export interface CommunityInfo { name: string; grantee: string; initiatedBy: string; } /** A community member's voice in collective decision-making */ export interface CommunityVoice { name: string; role: string; position: 'approve' | 'object' | 'abstain'; reason?: string; } /** Result of a collective consensus process */ export interface ConsensusResult { consensusReached: boolean; approvalCount: number; objectionCount: number; abstainCount: number; totalVoices: number; objections?: Array<{ voice: string; reason: string; }>; summary: string; } /** Options for Elder approval */ export interface ElderApprovalOptions { blessing?: string; conditions?: string[]; } //# sourceMappingURL=community.d.ts.map