/** * 01-core §15; 08-ui §5 — a failure may not escape its surface. * * `children` is what a PERSON reads and always renders. `detail` is the * developer's half — an exception's own message, a validator's code line — and * renders only in dev mode. * * The gate lives here because every notice in a generated app goes through this * component, and there is no way for it to tell a consumer sentence from a raw * exception by looking at the string — a regex set cannot be that authority. * So the two halves are separate arguments, and a caller that has developer * text says so. */ export declare function ContainedNotice(props: { label: string; children: string; /** Developer text: rendered in dev mode only, never to a person. */ detail?: string; code?: string; outcome?: string; /** Makes the notice ITSELF the affordance — the same box, pressable. The * pending-approval notice is the way back to an ask the person dismissed, * and a second component beside it would be a second thing to explain. */ onPress?(): void; }): import("react").JSX.Element;