UNPKG

histoire

Version:

A fast story book powered by Vite

17 lines • 833 B
import type { ConfigPatch } from '../../config/codemod/index.js'; import type { Context } from '../../context.js'; import type { UiChannelServer } from './types.js'; /** Validates visible section request before accessing any config file. */ export declare function validateConfigRead(value: unknown): { paths: string[]; requestId?: string; }; /** Rejects local-only settings, secrets, executable values and unbounded revisions. */ export declare function validateConfigSave(value: unknown): { patches: ConfigPatch[]; expectedHash?: string; requestId?: string; }; /** Dev Settings uses the existing watcher; successful saves never request another restart. */ export declare function registerConfigChannel(ctx: Context, channel: UiChannelServer, isActive?: () => boolean): void; //# sourceMappingURL=config.d.ts.map