import{type PropertyValues,type TemplateResult}from'lit';import{LyraElement}from'../../../internal/lyra-element.js';import{type LyraTimestamp}from'../timestamp.js';export interface CheckpointRestoreDetail{checkpointId:string;label:string;}export interface LyraCheckpointEventMap{'lr-restore':CustomEvent;} /** `true`-defaulting boolean attribute converter -- Lit's default presence-based `type: Boolean` * can never be set back to `false` from a plain-HTML attribute once the property's own default is * `true` (removing an attribute that was never present fires no `attributeChangedCallback`), so * `fromAttribute` checks the literal string instead. Shared by both `restorable` and * `confirmRestore`, which have the identical `true`-default parsing need. */ /** * `` — an inline conversation restore point: a labeled marker between messages * whose Restore affordance confirms inline, then hands the host a `lr-restore` event. This * component persists and restores nothing itself — host state in, events out. * * @customElement lr-checkpoint * @slot - Optional supplemental content under the marker row (e.g. what changed since this * point). * @event lr-restore - Restore was activated (after the inline confirm step, when * `confirmRestore` is on). `detail: { checkpointId, label }`. Not cancelable — a request; this * component performs no default action and stores nothing. * @csspart base - The marker root (`role="group"`). * @csspart line - Each of the two flanking rules. * @csspart icon - The bookmark glyph. * @csspart label - The computed label text. * @csspart timestamp - The formatted `timestamp`, when set. * @csspart restore-button - The Restore button. Only rendered while `restorable`. * @csspart confirm-group - The inline confirm prompt, swapped in for `restore-button` while * confirming. * @csspart confirm-prompt - The confirm prompt text. * @csspart confirm-button - Confirms the restore, firing `lr-restore`. * @csspart cancel-button - Cancels, reverting to `restore-button`. * @cssprop [--lr-checkpoint-spin-duration=var(--lr-transition-ambient)] - Restoring-spinner * timing, inheriting the shared ambient-motion token by default (stopped under reduced motion). * @status stable * @since 4.0.0 */ export declare class LyraCheckpoint extends LyraElement{static styles:import("lit").CSSResultGroup[]; /** Opaque id echoed in the `lr-restore` event detail. */ checkpointId:string; /** Checkpoint name. The generic `'Checkpoint'` fallback renders while empty. */ label:string; /** Optional creation time, rendered as `