import { LitElement } from 'lit'; /** * USA Error Template * * Error page template for 404, 500, and other error states. * Provides a minimal, focused layout for error messaging. * * **Template Structure (from USWDS):** * - Skip navigation + Banner + Header (optional) * - Error content with code, title, message * - Action buttons (home link, etc.) * - Footer + Identifier (optional) * * @element usa-error-template * * @slot error-content - Custom error content * @slot header - Site header * @slot footer - Site footer * * @fires {CustomEvent} template-ready - Fired when template initializes * * @example 404 Error * ```html * * ``` * * @example 500 Error * ```html * * ``` * * @uswds-template https://designsystem.digital.gov/templates/error-page/ */ export declare class USAErrorTemplate extends LitElement { protected createRenderRoot(): this; /** * Page language attribute */ lang: string; /** * Whether to show the government banner */ showBanner: boolean; /** * Whether to show the identifier at the bottom */ showIdentifier: boolean; /** * Error code (e.g., "404", "500") */ errorCode: string; /** * Error title/heading */ errorTitle: string; /** * Error description message */ errorMessage: string; /** * Home page URL */ homeUrl: string; /** * Home button text */ homeText: string; /** * Whether to show a contact link */ showContact: boolean; /** * Contact page URL */ contactUrl: string; /** * Contact link text */ contactText: string; /** * Additional help text */ helpText: string; connectedCallback(): void; firstUpdated(changedProperties: Map): void; /** * Check if a slot has content */ private hasSlotContent; /** * Render the error content */ private renderErrorContent; render(): import('lit-html').TemplateResult<1>; /** * Public API: Set error state */ setError(code: string, title: string, message: string): void; } //# sourceMappingURL=usa-error-template.d.ts.map