import { typescriptFileProvider } from '@baseplate-dev/core-generators';
import { createGeneratorTask, createProviderType } from '@baseplate-dev/sync';
import { PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_PATHS } from './template-paths.js';
import { PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_TEMPLATES } from './typed-templates.js';
const placeholderAuthCorePlaceholderAuthHooksRenderers = createProviderType('placeholder-auth-core-placeholder-auth-hooks-renderers');
const placeholderAuthCorePlaceholderAuthHooksRenderersTask = createGeneratorTask({
    dependencies: {
        paths: PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_PATHS.provider,
        typescriptFile: typescriptFileProvider,
    },
    exports: {
        placeholderAuthCorePlaceholderAuthHooksRenderers: placeholderAuthCorePlaceholderAuthHooksRenderers.export(),
    },
    run({ paths, typescriptFile }) {
        return {
            providers: {
                placeholderAuthCorePlaceholderAuthHooksRenderers: {
                    hooksGroup: {
                        render: (options) => typescriptFile.renderTemplateGroup({
                            group: PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_TEMPLATES.hooksGroup,
                            paths,
                            generatorPaths: paths,
                            ...options,
                        }),
                    },
                },
            },
        };
    },
});
export const PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_RENDERERS = {
    provider: placeholderAuthCorePlaceholderAuthHooksRenderers,
    task: placeholderAuthCorePlaceholderAuthHooksRenderersTask,
};
//# sourceMappingURL=template-renderers.js.map