import type { FormResponse, NonRouterRoute, Field } from "../types/types";
/**
 * Substitues variables in the target URL identified by routeValue with values from response
 * e.g. {firstName} is replaced with value of the field with identifier firstName
 *
 * @param routeValue - The target URL with variables to be substituted
 * @param response - The form response containing the values to be substituted
 * @param fields - The fields of the form
 * @returns The URL with variables substituted
 */
export declare const substituteVariables: (routeValue: NonRouterRoute["action"]["value"], response: FormResponse, fields: Field[]) => string;
//# sourceMappingURL=substituteVariables.d.ts.map