export declare const DECLARATIONS_FILENAME = "declarations.json"; export type DeclarationType = 'string' | 'number'; export interface Declaration { id: string; label: string; type: DeclarationType; } export declare function declarationsPath(cwd: string): string; /** * Reads and validates `declarations.json` from the project root. * Throws a user-facing Error when the file is missing or malformed. */ export declare function readDeclarations(cwd: string): Declaration[]; /** * Compares a `--params` payload against the declared schema and returns * human-readable warnings. Does not throw — callers decide whether the * mismatch is fatal (publish) or just noisy (run). */ export declare function validateParams(declarations: Declaration[], params: Record): string[];