import type { Context } from '../context.js';
/**
 * Checks that the project (not Histoire) provides the browser test provider
 * packages, and fails with an actionable message instead of a raw
 * ERR_MODULE_NOT_FOUND stack.
 * @param root The project root to resolve from.
 */
export declare function ensureBrowserTestDepsInstalled(root: string): Promise<void>;
/** Resolve optional browser peers from target project exactly as runner preflight does. */
export declare function missingBrowserTestDependencies(root: string): string[];
/**
 * Fails early when the project has no Vitest at all: every Histoire test runs
 * through the project's own Vitest browser mode.
 * @param ctx The histoire context.
 */
export declare function ensureProjectVitest(ctx: Context): void;
//# sourceMappingURL=preflight.d.ts.map