/** * pop education complete — answer a module's quiz and claim its PT reward. * * EducationHub.completeModule(id, answer) — verified contracts origin/main * src/EducationHub.sol: onlyMember + whenNotPaused; reverts ModuleUnknown * for missing modules, AlreadyCompleted on a second attempt (each module * pays out once per account), and InvalidAnswer on a wrong answer index. * * Pre-flight (skippable with --no-preflight) fails fast BEFORE gas on the * two knowable reverts: the module must exist (getModule) and the learner * must not have completed it already (hasCompleted). */ import type { Argv, ArgumentsCamelCase } from 'yargs'; interface CompleteArgs { org: string; module: string; answer: number; chain?: number; rpc?: string; 'private-key'?: string; 'dry-run'?: boolean; yes?: boolean; preflight?: boolean; 'idempotency-key'?: string; 'no-idempotency'?: boolean; } export declare const completeHandler: { builder: (yargs: Argv) => Argv<{ module: string; } & { answer: number; } & { "idempotency-key": string | undefined; } & { "no-idempotency": boolean; }>; handler: (argv: ArgumentsCamelCase) => Promise; }; export {};