import type { EnsureGlobalCssStylesheetImportsResult, StyledPackageName } from '../../shared/stylesheets.js'; export interface UpdateAppStylesheetImportsOptions { projectRoot: string; packageName: Exclude; entrypointPath?: string | null; dryRun?: boolean; includeIab?: boolean; } /** * Resolve which package's stylesheet imports the app should end up with. * * Apps that installed a scoped framework package (`@c15t/react`, * `@c15t/nextjs`) directly — without the `c15t` umbrella — keep scoped * stylesheet imports. Normalizing their CSS to umbrella paths would mix * umbrella CSS with scoped JS, a version-skew hazard. The scoped-to-umbrella * normalization only applies when the app actually depends on the umbrella. * * The Tailwind 3 PostCSS plugin follows the same choice, so it loads from a * package the app depends on directly. * * @param projectRoot - App root containing package.json * @param packageName - The umbrella entry point requested by the caller * @returns The scoped package name for scoped-only apps, otherwise the * requested package name */ export declare const resolveStylesheetPackageName: (projectRoot: string, packageName: UpdateAppStylesheetImportsOptions['packageName']) => Promise; export declare const updateAppStylesheetImports: (options: UpdateAppStylesheetImportsOptions) => Promise;