import type { WildcardRedirectsTree } from '../../types';
/**
 * Parses a wildcard redirect and inserts it into the tree structure.
 * Tree branches are created as needed. Modifies the tree in place.
 *
 * @param tree - The tree structure to insert the wildcard redirect into.
 * @param from - The wildcard redirect to insert (ending with '*').
 * @returns void
 *
 * @example
 * // Adding redirect to an empty tree
 * addWildcardRedirectToTree({}, '/docs/api/*');
 * // Modified tree: { docs: { api: { '*': '/docs/api/*' } } }
 *
 * @example
 * // Adding redirect to an existing tree
 * addWildcardRedirectToTree({ docs: { api: { '*': '/docs/api/*' } } }, '/docs/blog/archive/*');
 * // Modified tree: { docs: { api: { '*': '/docs/api/*' }, blog: { archive: { '*': '/docs/blog/archive/*' } } } }
 */
export declare function addWildcardRedirectToTree(tree: WildcardRedirectsTree, from: string): void;
//# sourceMappingURL=add-wildcard-redirect-to-tree.d.ts.map