import { HTMLTemplateResult, LitElement, nothing } from 'lit'; import { PdConfirmDialog, PdDialogType } from '@progressive-development/pd-dialog'; import { PwaUpdatePromptTexts } from '../../pwa/types.js'; /** * Default (German) dialog texts — single source, used by prompt and dialog. * Deliberately terse: on mobile the dialog must stay small, and the footer * buttons wrap when they get long. Loss of unsaved input is the one thing * the text must say. */ export declare const PWA_UPDATE_PROMPT_DEFAULT_TEXTS: Required; /** * The dialog itself — internal building block of ``, * property-driven so the prompt can pass configured texts through. */ export declare class PdUpdateDialog extends PdConfirmDialog { dialogTitle: string; hintText: string; detailText: string; protected get _dialogTitle(): string; protected _dialogType: PdDialogType; protected _singleButton: boolean; constructor(); protected _renderContent(): HTMLTemplateResult; } export declare class PdUpdatePrompt extends LitElement { private _update; /** Text overrides; unset fields fall back to the German defaults. */ texts?: PwaUpdatePromptTexts; /** "Later" pressed — don't ask again until the next app start. */ private _declined; render(): HTMLTemplateResult | typeof nothing; private _apply; private _decline; } declare global { interface HTMLElementTagNameMap { "pd-update-dialog": PdUpdateDialog; "pd-update-prompt": PdUpdatePrompt; } } //# sourceMappingURL=PdUpdatePrompt.d.ts.map