import type { ThemeSpec } from './themes';
export type ThemeValidationLevel = 'error' | 'warning' | 'info';
export interface ThemeValidationIssue {
    level: ThemeValidationLevel;
    message: string;
    path?: string;
    context?: Record<string, unknown>;
}
export interface ThemeValidationResult {
    valid: boolean;
    issues: ThemeValidationIssue[];
}
export declare class ThemeValidationError extends Error {
    readonly issues: ThemeValidationIssue[];
    constructor(message: string, issues: ThemeValidationIssue[]);
}
export declare function validateThemeSpec(spec: ThemeSpec): ThemeValidationResult;
export declare function assertThemeSpecValid(spec: ThemeSpec): void;
