/** 设计态校验错误来源 */
export type DesignerValidationSource = 'doc';
/** 单条设计态校验错误 */
export interface DesignerValidationError {
    code: string;
    message: string;
    source: DesignerValidationSource;
    /** 便于定位 */
    path?: string;
}
/** 设计态校验结果 */
export interface DesignerValidationResult {
    valid: boolean;
    errors: DesignerValidationError[];
}
export declare function createDesignerValidationResult(errors: DesignerValidationError[]): DesignerValidationResult;
