export interface ConfigWriteResult { success: boolean; content?: string; error?: string; } /** * Check whether a config key is in the whitelist. * Explicit keys and autoload/* patterns are accepted. */ export declare function isAllowedConfigKey(key: string): boolean; /** * Validate a value against the rule for a given key. * Returns { valid: true } or { valid: false, error: "..." }. */ export declare function validateConfigValue(key: string, value: string): { valid: boolean; error?: string; }; /** * Write a config key=value into project.godot content string. * Returns the modified content or an error. */ export declare function projectWriteConfig(content: string, key: string, value: string): ConfigWriteResult;