import type { LocatedWarning, RunWarning, WarningTarget } from './runWarnings.js'; import type { WorkflowJob } from './types.js'; /** A warning's message, with the text it puts in backticks, such as a keyword, set as code. */ export declare function WarningText({ message }: { message: string; }): string | (string | import("react").JSX.Element)[]; /** Flags a job or step that warnings are about, or that holds something they're about; hovering * it lists them. */ export declare function WarningMark({ warnings, className, }: { warnings: readonly RunWarning[]; className?: string | undefined; }): import("react").JSX.Element | null; /** The run's warnings, each with a link to the job or step it's about. */ export declare function RunWarningsList({ warnings, rootJobs, onShow, }: { warnings: readonly LocatedWarning[]; rootJobs: Record; /** Brings a warning's job or step into view; without it, where each one is reads as text. */ onShow?: ((target: WarningTarget) => void) | undefined; }): import("react").JSX.Element | null;