import type { EponymeConfig } from '../types/index.js'; /** What the router hands back for a path, narrowed to what a redirect has to look at. */ export interface ResolvedRedirect { name?: string | symbol | null; params: Record; } /** * A login sends the visitor back where they came from, but an entry can be renamed or dropped while a * bookmark still points at it - so an unknown target lands on the dashboard root rather than on a 404. */ export declare function resolveLoginRedirect(redirect: unknown, dashboardPath: string, config: EponymeConfig, resolve: (path: string) => ResolvedRedirect): string;