/**
 * Reset Password screen - set new password after reset
 *
 * Corresponds to: /u/reset-password
 */
import type { ScreenContext, ScreenResult, ScreenDefinition } from "./types";
import type { Context } from "hono";
import type { Bindings, Variables } from "../../../types";
import type { EnrichedClient } from "../../../helpers/client";
/**
 * Shared helper to execute a password reset: validate code, validate policy,
 * update password, mark email verified, log, and delete code.
 */
export declare function executePasswordReset(params: {
    ctx: Context<{
        Bindings: Bindings;
        Variables: Variables;
    }>;
    client: EnrichedClient;
    code: string;
    password: string;
    username: string;
}): Promise<{
    success: true;
} | {
    error: string;
    field: "code" | "password";
}>;
/**
 * Create the reset-password screen
 */
export declare function resetPasswordScreen(context: ScreenContext): Promise<ScreenResult>;
/**
 * Screen definition for the reset-password screen
 */
export declare const resetPasswordScreenDefinition: ScreenDefinition;
