import { packageInfoProvider } from '@baseplate-dev/core-generators';
import { reactPathsProvider } from '@baseplate-dev/react-generators';
import { createGeneratorTask, createProviderType } from '@baseplate-dev/sync';
const reactUploadComponentsPaths = createProviderType('react-upload-components-paths');
const reactUploadComponentsPathsTask = createGeneratorTask({
    dependencies: {
        packageInfo: packageInfoProvider,
        reactPaths: reactPathsProvider,
    },
    exports: { reactUploadComponentsPaths: reactUploadComponentsPaths.export() },
    run({ packageInfo, reactPaths }) {
        const componentsRoot = reactPaths.getComponentsFolder();
        const srcRoot = packageInfo.getPackageSrcPath();
        return {
            providers: {
                reactUploadComponentsPaths: {
                    fileInputComponent: `${componentsRoot}/ui/file-input.tsx`,
                    fileInputField: `${componentsRoot}/ui/file-input-field.tsx`,
                    hooksUseUpload: `${srcRoot}/hooks/use-upload.ts`,
                },
            },
        };
    },
});
export const REACT_UPLOAD_COMPONENTS_PATHS = {
    provider: reactUploadComponentsPaths,
    task: reactUploadComponentsPathsTask,
};
//# sourceMappingURL=template-paths.js.map