import type { StratifyConfig, LayerDefinition } from '../types/types.js'; import type { ConfigError } from './errors.js'; import type { Result } from './result.js'; /** * Validate that a raw parsed object conforms to the StratifyConfig schema. * * @param raw - The raw parsed JSON object to validate * @returns A Result containing the validated StratifyConfig, or a ConfigError with details of all validation issues */ export declare function validateConfigSchema(raw: unknown): Result; /** * Validate a single layer definition. * * @param name - The name of the layer (for error messages) * @param raw - The raw layer definition object to validate * @returns A Result containing the validated LayerDefinition, or a ConfigError */ export declare function validateLayerDefinition(name: string, raw: unknown): Result;