import { GeneratorCallback, Tree } from '@nx/devkit';
import { StorybookConfigureSchema } from './schema';
/**
 * Returns the path portion to be used for import statements or a
 * tsconfig.json `paths` entry for `projectName`.
 *
 * TS-solution (package.json-backed) projects already carry their real
 * import path as `package.json.name` (Design 1.4/2.5) - which may differ
 * from the `@<npmScope>/<projectName>` guess below (e.g. an explicit
 * `--importPath` given at generation time). Prefer reading it directly;
 * fall back to the historical npmScope-based guess only when no
 * project-level package.json exists yet (legacy, non-buildable projects
 * never get one).
 *
 * @example `@nx-workspace/nx-project`
 * @returns path portion of an import statement
 */
export declare function getProjectTsImportPath(tree: Tree, projectName: string): any;
export declare function storybookConfigurationGenerator(host: Tree, rawSchema: StorybookConfigureSchema): Promise<GeneratorCallback>;
export default storybookConfigurationGenerator;
