// src/actions/deplint/getStorybookConfigImports.ts
import ts from "typescript";
var storybookMainPattern = /(?:^|[\\/])\.storybook[\\/]main\.[cm]?[jt]sx?$/;
function isStorybookMainFile(filePath) {
  return storybookMainPattern.test(filePath);
}

// src/actions/dead/storybookConventions.ts
var storyFilePattern = /\.stories\.[cm]?[jt]sx?$/i;
var storybookPreviewPattern = /(?:^|[\\/])\.storybook[\\/]preview\.[cm]?[jt]sx?$/i;
var storybookManagerPattern = /(?:^|[\\/])\.storybook[\\/]manager\.[cm]?[jt]sx?$/i;
function isStorybookConventionFile(filePath) {
  return storyFilePattern.test(filePath) || storybookPreviewPattern.test(filePath) || storybookManagerPattern.test(filePath) || isStorybookMainFile(filePath);
}
export {
  isStorybookConventionFile
};
//# sourceMappingURL=storybookConventions.mjs.map
