import { LitElement } from 'lit'; /** * USA Base Template * * Foundation template that provides the standard USWDS page structure. * All other templates extend or compose this base template. * * **Template Structure (from USWDS):** * - Skip navigation link * - Government banner * - Header * - Main content * - Footer * - Identifier * * **Architecture Note:** * Uses Light DOM (no Shadow DOM) to allow USWDS styles to cascade properly. * Provides slots for maximum customization while offering sensible defaults. * * @element usa-base-template * * @slot skipnav - Custom skip navigation (defaults to standard skip link) * @slot banner - Custom government banner (defaults to standard banner) * @slot header - Site header content * @slot main - Main page content * @slot footer - Site footer content * @slot identifier - Government identifier (defaults to standard identifier) * * @fires {CustomEvent} template-ready - Fired when template initializes * * @example Basic usage with slots * ```html * *
* *
*
*

Welcome

*

Main content goes here.

*
*
* *
*
* ``` * * @example With properties for defaults * ```html * *
Content
*
* ``` * * @uswds-template https://designsystem.digital.gov/templates/ */ export declare class USABaseTemplate 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; /** * Text for the skip navigation link */ skipText: string; /** * Target for the skip navigation link */ skipHref: string; /** * Domain name for the identifier (e.g., "example.gov") */ domain: string; /** * Agency name for the identifier */ agency: string; /** * Parent agency name for the identifier */ parentAgency: string; /** * Parent agency URL for the identifier */ parentAgencyHref: string; connectedCallback(): void; updated(changedProperties: Map): void; firstUpdated(changedProperties: Map): void; /** * Check if a slot has content */ private hasSlotContent; /** * Render skip navigation */ private renderSkipNav; /** * Render government banner */ private renderBanner; /** * Render identifier */ private renderIdentifier; render(): import('lit-html').TemplateResult<1>; /** * Public API: Get main content element */ getMainContent(): HTMLElement | null; /** * Public API: Focus main content (for skip link) */ focusMainContent(): void; } //# sourceMappingURL=usa-base-template.d.ts.map