import { EncoderDecoder } from '../../core';
export declare type Routes = {
    [key: string]: Route;
};
export interface Route {
    returnTypeConverter?: string;
    bodyEncoder?: string;
}
export declare class ApiConfig {
    routes: Routes;
    aliases: {
        [key: string]: string;
    };
    converters: {
        [key: string]: EncoderDecoder<any, any>;
    };
    constructor(routes: Routes, converters?: {
        [key: string]: any;
    }, aliases?: {
        [key: string]: any;
    });
    getRoute(methodStr: "get" | "put" | "post", path: string): Route | undefined;
    addRoute(methodStr: "get" | "put" | "post", lwm2mPath: string, route: Route, ...aliases: string[]): this;
    getBodyConverter(id: string): EncoderDecoder<any, any>;
    resolvePath(path: string): string;
}
