import { ResourceParams } from './types'; export declare function toJSON(res: Response): Promise; export declare function parseParams(route: string): string[]; export declare function replaceParams(route: string, params: ResourceParams): string;