import { Context } from "hono";
import { AuthParams, LoginSession } from "@authhero/adapter-interfaces";
import { EnrichedClient } from "../helpers/client";
import { Bindings, GrantFlowUserResult, Variables } from "../types";
export declare function passwordGrant(ctx: Context<{
    Bindings: Bindings;
    Variables: Variables;
}>, client: EnrichedClient, authParams: AuthParams & {
    password: string;
}, loginSession?: LoginSession, realm?: string): Promise<GrantFlowUserResult>;
export declare function loginWithPassword(ctx: Context<{
    Bindings: Bindings;
    Variables: Variables;
}>, client: EnrichedClient, authParams: AuthParams & {
    password: string;
}, loginSession?: LoginSession, ticketAuth?: boolean, realm?: string): Promise<Response>;
export declare function changePassword(ctx: Context<{
    Bindings: Bindings;
    Variables: Variables;
}>, client: EnrichedClient, userId: string, newPassword: string, connectionName: string): Promise<void>;
export declare function requestPasswordReset(ctx: Context<{
    Bindings: Bindings;
    Variables: Variables;
}>, client: EnrichedClient, email: string, state: string, verification_method?: "link" | "code", routePrefix?: string): Promise<void>;
