import { LitElement } from 'lit'; import { SxProps } from '../types.js'; /** * A toast notification component with auto-dismiss and animation. * * @slot - Toast message content * @fires tc-dismiss - Fired when the toast is dismissed * @csspart toast - The toast container * @csspart content - The content container * @csspart close - The close button * @attr {string} variant - The toast variant (info | success | warning | error) * @attr {number} duration - The auto-dismiss duration in milliseconds * @attr {boolean} auto-dismiss - Whether to auto-dismiss after duration * @attr {boolean} dismissible - Whether the toast can be dismissed manually */ export declare class TcToast extends LitElement { variant: 'info' | 'success' | 'warning' | 'error'; duration: number; autoDismiss: boolean; dismissible: boolean; sx: SxProps; private animation; private dismissTimer?; static styles: import('lit').CSSResult[]; connectedCallback(): void; disconnectedCallback(): void; private updateDataState; private clearDismissTimer; private startDismissTimer; show(): Promise; hide(): Promise; private handleClose; render(): import('lit').TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'tc-toast': TcToast; } } //# sourceMappingURL=tc-toast.d.ts.map