import { CorsOptions } from 'cors';
import { API_TYPES } from '../types';
export interface IAppOptions {
    mongodb_url?: string;
    database_name?: string;
    namespaces?: string[];
    cors?: CorsOptions;
    apiType?: API_TYPES;
    models: (any)[];
}
export declare type IAppProdOptions = {
    [key in keyof IAppOptions]?: IAppOptions[key];
};
export declare type IAppKeys = keyof IAppOptions;
export declare function APP(options: {
    dev: IAppOptions;
    prod?: IAppProdOptions;
}): (Target: any) => void;
