import{type CSSResult}from'lit'; /** * The retry control rendered by `renderDataState()`'s failure branch * (`src/internal/data-state-renderer.ts`). * * Adopt it by interpolating this sheet into the component's own `css` template, the way * `form-control.styles.ts`'s required marker is adopted, rather than appending it to * `static styles`: the rules belong beside the stylesheet that owns the surrounding surface, and * keeping the composition there leaves a component's whole rendered surface readable in one file. * * The part name is deliberately NOT parameterized. Unlike the state wrapper below, the retry * control is named by the renderer itself, not by the host, so every adopting component publishes * the same `retry-button` part — one name a consumer can style once across the whole library. The * declarations are `lr-table`'s shipped ones value for value — including the hover/pressed/focus * triad `check-interaction-states.mjs` requires — so a component migrating onto the shared renderer * keeps the same resting, hovered, pressed and focused paint. The one addition is the shared * `--lr-transition-interactive`, which eases the hover and pressed repaints the same way every * other interactive part in the library now does. */ export declare const dataStateRetryStyles:CSSResult; /** * Rejects a prefix that is not a lowercase kebab-case part name, naming `caller` in the message. * * Shared with `renderDataState()` rather than kept private here so both entry points accept exactly * the same set of strings. A host names the part once for the markup and once for the selector that * paints it, and nothing else ties the two calls together: a prefix one entry point accepted and * the other refused would leave `part='Results Error'` in the DOM and a `TypeError` — or, worse, * a silently unmatched selector — in the stylesheet, with no layer reporting the mismatch. * * @throws TypeError when `partPrefix` is not a lowercase kebab-case part name. */ export declare function assertPartPrefix(partPrefix:string,caller:string):void; /** * The surface a grid-shaped host paints behind a full-width state row, parameterized by the same * part prefix the host passes to `renderDataState()`. * * `lr-table`'s `error-row`/`error-cell` pair is the naming convention: the structural full-width * row is deliberately not the host's data-row part, so it picks up none of the hover, selected, * stripe or roving-focus treatment a real row carries. A host that renders its state inline, * with no row wrapper, needs only {@link dataStateRetryStyles}; the rules below simply match * nothing. * * @throws TypeError when `partPrefix` is not a lowercase kebab-case part name. */ export declare function dataStateSurfaceStyles(partPrefix:string):CSSResult;