/** * Auth screen state machine for contract tests and controlled UI. * * idle → submitting → success | verification_required | error | rate_limited */ export type AuthFlowState = "idle" | "submitting" | "success" | "verification_required" | "error" | "rate_limited"; /** * Derive flow state from mutation pending flag + normalized error. */ export declare function resolveAuthFlowState(input: { isPending: boolean; isSuccess?: boolean; errorCode?: string | null; }): AuthFlowState;