declare class KycAbortError extends Error { } /** * Drive ONLY the User Agreements step, from a create-card kyc_required * envelope (nextStep 'terms', backend respondUserAgreementsGate). * Deliberately not runConversationalKyc: rows verified before the * per-agreement consent rows shipped still carry the legacy * rainTermsAcceptedAt flag, so the resumable /kyc/conversation snapshot * reports nextStep 'verified' and the full flow would exit without ever * presenting the checkboxes. The create envelope is the one carrier of the * correct 'terms' state; consume it directly. * * Returns the nextStep the server reports AFTER the acceptance, so the caller * decides what it means: the standalone command may only claim card * eligibility on 'verified', while the create loop can keep going on a * non-terminal state and let the backend's own gate drive the rest. Throws * only for states nobody can proceed from ('terms', 'rejected'). */ export declare function runUserAgreementsStep(envelope: unknown): Promise; /** * Drive the conversational KYC flow to completion (or abort with a clear * message). Interactive only — callers guard non-interactive mode themselves. */ export declare function runConversationalKyc(): Promise; /** `agent-cards kyc` — standalone entry. */ export declare function kycVerify(): Promise; export { KycAbortError }; //# sourceMappingURL=kyc.d.ts.map