import { BlockValidationResult } from "../../core/validation"; /** * A warning message for in the sidebar schema analysis. */ export declare type SidebarWarning = { /** * The warning message. */ text: string; /** * Color of the warning. */ color: "red" | "orange" | "green"; }; /** * Creates an array of warning messages from a block validation result. * * @param validation The block being validated. * * @returns {SidebarWarning[]} The formatted warnings. */ export declare function createAnalysisMessages(validation: BlockValidationResult): SidebarWarning[]; /** * Strips "Yoast " of the name of the block and converts the string to lower case. * * @param parent The parent block name. * * @returns {string} The sanitized parent block name. */ export declare function sanitizeParentName(parent: string): string; /** * Converts the validation results for a block instance with the given clientId to a presentable text. * * @param clientId The clientId to request validation results for. * * @returns {string} The presentable warning message, or null if no warnings are found. */ export default function getWarnings(clientId: string): SidebarWarning[];