import { createTsImportMap, packageScope, } from '@baseplate-dev/core-generators';
import { authHooksImportsProvider, authHooksImportsSchema, } from '@baseplate-dev/react-generators';
import { createGeneratorTask } from '@baseplate-dev/sync';
import { PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_PATHS } from './template-paths.js';
const placeholderAuthCorePlaceholderAuthHooksImportsTask = createGeneratorTask({
    dependencies: {
        paths: PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_PATHS.provider,
    },
    exports: { authHooksImports: authHooksImportsProvider.export(packageScope) },
    run({ paths }) {
        return {
            providers: {
                authHooksImports: createTsImportMap(authHooksImportsSchema, {
                    AuthRole: paths.useSession,
                    SessionData: paths.useSession,
                    useLogOut: paths.useLogOut,
                    useRequiredUserId: paths.useRequiredUserId,
                    useSession: paths.useSession,
                }),
            },
        };
    },
});
export const PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_IMPORTS = {
    task: placeholderAuthCorePlaceholderAuthHooksImportsTask,
};
//# sourceMappingURL=ts-import-providers.js.map