import { PropertyValues } from 'lit'; import { PktElementWithSlot } from '../../base-elements/element-with-slot'; import { TAriaLive, TAlertSkin } from '../../shared-types'; export type { TAlertSkin }; export interface IPktAlert { skin?: TAlertSkin; closeAlert?: boolean; title?: string; date?: string | null; ariaLive?: TAriaLive | null; /** * @deprecated Bruk size i stedet. Uten eksplisitt size gir compact størrelsen 'small'. */ compact?: boolean; role?: string; size?: 'medium' | 'small' | 'xsmall'; } export declare class PktAlert extends PktElementWithSlot implements IPktAlert { constructor(); compact: boolean; title: string; skin: TAlertSkin; ariaLive: TAriaLive; ariaLiveAttr: TAriaLive | null; closeAlert: boolean; date: string | null; role: string; size?: 'medium' | 'small' | 'xsmall'; _isClosed: boolean; connectedCallback(): void; attributeChangedCallback(name: string, _old: string | null, value: string | null): void; protected updated(_changedProperties: PropertyValues): void; render(): import('lit').TemplateResult<1>; private close; }