import type { WardenConfig } from "./config.js"; /** The config layout this extension build expects; compared with the loaded config module's CONFIG_SCHEMA. */ export declare const EXPECTED_SCHEMA = 6; export interface ShapeResult { config: WardenConfig; /** Sections that were absent from the loaded config and are now disabled. Empty when the config was complete. */ missing: string[]; } /** * `loadConfig()` always returns a complete object, yet live sessions crashed at `config.slop.prose.enabled` after a package * update. A partially updated module graph (extension from one version, config from another) is the only known way to get * there. Whatever the cause, a missing section disables that guard and is reported instead of throwing inside Pi's event loop. */ export declare function completeConfig(loaded: Partial | undefined): ShapeResult; export declare function shapeWarning(missing: readonly string[], loadedSchema: number | undefined): string;