#pragma once

#include <library/cpp/config/config.h>

#include <util/generic/maybe.h>
#include <util/generic/string.h>
#include <util/datetime/base.h>

class IInputStream;
class TContExecutor;

namespace NSrvKernel {
    using NConfig::TGlobals;

    class IModule;
    template <class I> class INodeFactory;

    using IModuleFactory = INodeFactory<IModule>;

    int RunMain(int argc, char** argv, INodeFactory<IModule>* loader);
}
