import type { StacksConfig } from '@stacksjs/types'; /** * Validate a config snapshot. Returns the list of issues — caller decides * whether to throw, log, or just print a summary. Returns an empty array * when everything checks out. */ export declare function validateConfig(config: Partial): ConfigValidationIssue[]; /** * Convenience: validate and pretty-print to stderr. Returns true when * the config is clean. Used by the boot path so users see issues * immediately on startup rather than digging into a stack trace later. */ export declare function reportConfigIssues(config: Partial): boolean; export declare interface ConfigValidationIssue { path: string message: string } // eslint-disable-next-line pickier/no-unused-vars declare type Check = (value: unknown, path: string) => ConfigValidationIssue[];