UNPKG

histoire

Version:

A fast story book powered by Vite

10 lines • 824 B
import type { ConfigPatch, JsonValue, PathToken } from './types.js'; /** Root settings writable by the dev-only project settings channel. */ export declare const CONFIG_EDITABLE_PATHS: readonly ['responsivePresets', 'backgroundPresets', 'theme.defaultColorScheme', 'ui.defaultArrange', 'agents.presets', 'agents.permissions']; /** Parses only documented paths; arbitrary properties and prototype keys fail. */ export declare function parseConfigPath(path: string): PathToken[]; /** Enforces JSON semantics before AST generation, rejecting secrets in presets. */ export declare function assertConfigPath(path: string, value?: JsonValue): void; /** Validates a patch collection before reading or changing source. */ export declare function assertConfigPatches(patches: ConfigPatch[]): void; //# sourceMappingURL=paths.d.ts.map