import type * as z from 'zod'; export * from '../core.js'; /** A prompt shown at the bottom of the terminal, which output is written above */ export interface ActivePrompt { clear(): void; redraw(): void; } /** * Set the prompt being shown, so output is written above it instead of through it. * @internal */ export declare function _setActivePrompt(prompt: ActivePrompt | null): void; /** * @param defaultValue Returned when the file can't be loaded. If omitted, loading errors will be thrown. */ export declare function readJSON(path: string, schema: S): z.infer; export declare function writeJSON(path: string, data: any): void;