histoire
Version:
A fast story book powered by Vite
10 lines • 594 B
TypeScript
import type { HistoireBrowserConfig } from '@histoire/shared';
/**
* Validates trusted browser config and resolves custom paths against project root.
* Browser file presence is checked during setup discovery, not config loading.
* @param value User-supplied browser policy.
* @param projectRoot Absolute or project-relative Histoire root.
* @returns Validated config with a resolved executable path when selected.
*/
export declare function normalizeBrowserConfig(value: HistoireBrowserConfig | undefined, projectRoot: string): HistoireBrowserConfig;
//# sourceMappingURL=browser.d.ts.map