import { UserConfig } from 'vite'; /** * Generates a short, unique prefix based on the package name. * Optionally incorporates a seed to differentiate prefixes per build target. * Falls back to a random hash if package.json can't be read and no seed is provided. * @param {string} projectRoot - The root directory of the project. * @param {string | undefined} seed - Optional seed to salt the hash. * @returns {string} A unique 6-character prefix. */ export declare const generateUniquePrefix: (projectRoot: string, seed?: string) => string; /** * Derives a stable seed from Vite build configuration to avoid prefix collisions * when building multiple widgets from the same project/package name. * @param {UserConfig} config - The Vite user config. * @returns {string} A stable seed string derived from build output and entry config. */ export declare const getAutoSeedFromConfig: (config: UserConfig) => string; //# sourceMappingURL=prefix.d.ts.map