import { createTsImportMap, packageScope, } from '@baseplate-dev/core-generators';
import { authHooksImportsProvider, authHooksImportsSchema, } from '@baseplate-dev/react-generators';
import { createGeneratorTask } from '@baseplate-dev/sync';
import { AUTH0_AUTH0_HOOKS_PATHS } from './template-paths.js';
const auth0Auth0HooksImportsTask = createGeneratorTask({
    dependencies: {
        paths: AUTH0_AUTH0_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 AUTH0_AUTH0_HOOKS_IMPORTS = {
    task: auth0Auth0HooksImportsTask,
};
//# sourceMappingURL=ts-import-providers.js.map