/** * Auth UI 组件 — SignupFlow * 容器组件:编排 注册表单 → 验证码输入 两步流程 * 通过回调注入与 SDK 交互,自身不依赖 @shopplus/membership-sdk */ import { BaseComponent } from '../../base/BaseComponent'; export interface SignupFlowConfig { tenantId: string; locale?: string; codeLength?: number; resendCooldown?: number; showLoginLink?: boolean; onRegister: (email: string, password: string) => Promise<{ requiresVerification: boolean; }>; onVerify: (email: string, code: string) => Promise; onResend?: (email: string) => Promise; onSuccess?: (result: unknown) => void; onError?: (error: Error) => void; } export declare class SignupFlow extends BaseComponent { private config; private step; private email; private loading; private errorMessage; constructor(); static get observedAttributes(): string[]; connectedCallback(): void; configure(config: Partial): void; protected styles(): string; protected render(): string; private renderRegister; private renderVerify; protected afterRender(): void; private bindRegisterEvents; private handleRegisterSubmit; private bindVerifyEvents; private checkCodeComplete; private handleResend; private countdown; private cooldownTimer; private startCooldown; private stopCooldown; private updateResendButton; disconnectedCallback(): void; } export declare function registerSignupFlow(): void; //# sourceMappingURL=SignupFlow.d.ts.map