import type { Context } from '../context.js';
/**
 * Vite cache directory of one Histoire server.
 *
 * The dev client keeps its optimized dependencies in `.histoire/cache/vite/dev-client`
 * so `histoire dev` restarts reuse them instead of re-optimizing (and reloading
 * open frames) every time. Another live dev context of the same project keeps
 * a run-owned directory, like every other server kind (collection, build, tests).
 * @param ctx The histoire context.
 * @param kind Server kind, e.g. `client` or `server`.
 */
export declare function getViteCacheDir(ctx: Context, kind: string): string;
/**
 * Optimizer entries for story code: the browser setup file and every story
 * glob. Stories are only imported dynamically from virtual modules the
 * optimizer cannot crawl, so without them each newly opened story discovers
 * its dependencies at runtime and reloads open frames.
 * @param ctx The histoire context.
 */
export declare function getStoryOptimizerEntries(ctx: Context): string[];
//# sourceMappingURL=optimizer-cache.d.ts.map