import { TResetCommand } from '../../utils/api'; import { ILiftStatusWebComponentError } from '../../utils/types'; /** * @part container - The outer wrapper around all content. * @part title - The heading above the buttons. * @part buttons - The row holding the reset buttons. Replaced by the * confirmation while a reset awaits confirmation. * @part idle-button - The button that resets the steering once the lift is idle. * @part force-button - The button that starts the immediate reset flow. * Currently never rendered; awaiting the force-reset role. * @part confirm - The inline confirmation shown after choosing a reset. * @part confirm-question - The confirmation question text. * @part confirm-button - The button that confirms the chosen reset. * @part cancel-button - The button that cancels the chosen reset. * @part feedback - The message shown after a command completes. Carries a * second `success` or `error` part name reflecting the outcome. * @part notice - The message shown when resetting is unavailable. */ export declare class LsResetSteering { /** * The unique key that is used to identify store data. */ readonly idKey?: string; /** * Whether the reset controls are shown: the lift has the reset contact * capability and the user is an admin. */ isResetAvailable: boolean; /** * The command that is currently being sent, or `null` when idle. */ pendingCommand: TResetCommand | null; /** * The command awaiting inline confirmation, or `null` when no confirmation * is shown. */ confirmingCommand: TResetCommand | null; /** * Feedback shown after a command completes. */ feedback: { kind: 'success' | 'error'; messageKey: string; } | null; /** * Centralized error state for tracking component errors */ errorState: ILiftStatusWebComponentError; private store; private storeUnsubscribe; private containerElement?; private feedbackTimer; componentWillLoad(): Promise; componentDidLoad(): void; disconnectedCallback(): void; /** * Syncs the local error state from the store and (re)applies the overlay. */ private updateErrorState; private applyErrorOverlay; private requestIdleReset; private promptForceReset; private confirmReset; private cancelReset; private sendCommand; /** * Shows command feedback and schedules it to auto-dismiss. */ private showFeedback; private clearFeedback; private clearFeedbackTimer; private logError; private renderIdleReset; private renderConfirm; private renderForceReset; private renderControls; private renderUnavailableNotice; render(): any; }