import { PharosElement } from '../base/pharos-element'; import type { TemplateResult, CSSResultArray, PropertyValues } from 'lit'; import { PharosIcon } from '../icon/pharos-icon'; import { PharosToastButton } from './pharos-toast-button'; export type ToastStatus = 'success' | 'error' | 'info'; export declare enum TOAST_ICON { ERROR = "exclamation-inverse", SUCCESS = "checkmark-inverse", INFO = "exclamation-inverse" } export declare const DEFAULT_STATUS = "success"; export declare const DEFAULT_INDEFINITE = false; declare const PharosToast_base: typeof PharosElement; /** * Pharos toast component. * * @tag pharos-toast * * @slot - Content inside the toast (the default slot). * * @fires pharos-toast-close - Fires when the toast has closed * */ export declare class PharosToast extends PharosToast_base { static elementDefinitions: { 'pharos-icon': typeof PharosIcon; 'pharos-toast-button': typeof PharosToastButton; }; /** * The status to reflect to the user. * @attr status */ status: ToastStatus; /** * Indicates if the toast is open. * @attr open */ open: boolean; /** * The optional id passed to the toast. Can be used as a handle so the toast can be updated. * @attr id */ id: string; /** * Indicates if the toast should persist indefinitely * @attr indefinite */ indefinite: boolean; private _timer; private _debouncer; static get styles(): CSSResultArray; protected firstUpdated(): void; protected update(changedProperties: PropertyValues): void; private _handleTimer; private _getIcon; close(): void; protected render(): TemplateResult; } export {}; //# sourceMappingURL=pharos-toast.d.ts.map