ValidationResult: ({
    message?: string;
    type: "success";
} | {
    message: string;
    type: "error";
} | {
    message: string;
    type: "warning";
}) & {
    actions?: ValidationResultAction[];
}

Type declaration