/** * Function to check if a directory incorrectly imports code from a theme, as * this can lead to loading client side javacript where it was not intended. * * The function will throw an error if the specified directory contains an * import from a theme. * * By default the function will look for imports of all themes available in * `app/[domain]/`. * * An optional `excludeTheme` argument can be passed, which will exclude that * from the import lookup and allow checking theme directories for imports from * other themes. */ export default function checkDirForThemeImports(dirPath: string, excludeTheme?: string): void; //# sourceMappingURL=check-dir-for-theme-imports.d.ts.map