import { createTsImportMap, packageScope, } from '@baseplate-dev/core-generators';
import { userSessionServiceImportsProvider, userSessionServiceImportsSchema, } from '@baseplate-dev/fastify-generators';
import { createGeneratorTask } from '@baseplate-dev/sync';
import { PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_MODULE_PATHS } from './template-paths.js';
const placeholderAuthCorePlaceholderAuthModuleImportsTask = createGeneratorTask({
    dependencies: {
        paths: PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_MODULE_PATHS.provider,
    },
    exports: {
        userSessionServiceImports: userSessionServiceImportsProvider.export(packageScope),
    },
    run({ paths }) {
        return {
            providers: {
                userSessionServiceImports: createTsImportMap(userSessionServiceImportsSchema, { userSessionService: paths.userSessionService }),
            },
        };
    },
});
export const PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_MODULE_IMPORTS = {
    task: placeholderAuthCorePlaceholderAuthModuleImportsTask,
};
//# sourceMappingURL=ts-import-providers.js.map