import type { ReactNode } from 'react'; /** * The three a screen actually draws. * * A remark, a caution and a refusal, which are the three states anything gets * told: this is worth knowing, this will go wrong, this went wrong. A fourth * for success is not here because a thing that worked is said by the thing * itself changing, not by a box appearing beside it. */ export type Tone = 'note' | 'warn' | 'bad'; export declare function Notice({ title, tone, mark, list, children, }: { title: ReactNode; /** Which of the three this is. A remark unless said otherwise. */ tone?: Tone; /** A glyph at the leading edge, drawn by the caller in the tone's colour. */ mark?: ReactNode; /** * Several statements rather than one — everything still missing, every reason * an action would be refused. They arrive as values so the list is a real * list, which is what a screen reader counts and steps through, and so a * caller cannot put one inside the sentence below: a `ul` is not a nesting a * `p` allows, and a browser handed that pair keeps neither. */ list?: readonly ReactNode[]; children?: ReactNode; }): import("react").JSX.Element; //# sourceMappingURL=notice.d.ts.map