import * as React from "react"; /** * Copy the given child and add the new props. */ export declare function copy(child: any, props: any): React.DetailedReactHTMLElement; /** * Returns a params object containing the parsed tokens from the path if the * URI matches the path's pattern. Otherwise, null is returned. */ export declare function parseParams(path: string, uri: string, exact: boolean): T; /** * Parses a query string into an object. */ export declare function parseQuery(query: string): T; /** * Normalize a path to end with a single, trailing "/". */ export declare function normalizePath(path: string): string;