import { ToastServiceAPI, NotificationServiceAPI } from './Message.types'; /** * API para mostrar toasts (mensajes temporales apilables) * Los toasts se apilan hasta 5 y cada uno tiene su propio timer * * @example * toast.success('Operación exitosa') * toast.error('Algo salió mal') * toast.info('Información') * toast.warning('Advertencia') */ export declare const toast: ToastServiceAPI; /** * API de notificaciones agrupadas: mazos `primary` / `secondary` (explícitos) o mazo por defecto **`auto`** * cuando no se indica `stackGroup` (una sola cola para todas las variantes Figma). * * @example * notification.message({ title: 'Novedad', stackGroup: 'primary' }) * notification.message({ title: 'Recordatorio', stackGroup: 'secondary', appearance: { intent: 'preventiva' } }) * notification.dismissStack('auto') */ export declare const notification: NotificationServiceAPI; /** * API unificada de mensajes * Combina funcionalidad de toast y notification * * @example * // Toasts * notify.success('Guardado') * notify.error('Error') * * // Sin stackGroup → mazo por defecto `auto` (todas las intenciones / CTA / simples comparten cola) * notify.message({ title: 'Novedad' }) * notify.message({ title: 'Aviso', appearance: { intent: 'critica' } }) * * // Mazo explícito * notify.message({ title: 'Recordatorio', stackGroup: 'secondary' }) */ export declare const notify: { success: (messageOrOptions: import('./Message.api').MessageInput, options?: import('./Message.api').BaseMessageOptions) => number; error: (messageOrOptions: import('./Message.api').MessageInput, options?: import('./Message.api').BaseMessageOptions) => number; info: (messageOrOptions: import('./Message.api').MessageInput, options?: import('./Message.api').BaseMessageOptions) => number; warning: (messageOrOptions: import('./Message.api').MessageInput, options?: import('./Message.api').BaseMessageOptions) => number; show: (messageOrOptions: import('./Message.api').MessageInput, color?: import('./Message.api').MessageColor, options?: import('./Message.api').BaseMessageOptions) => number; dismiss: (id: number) => void; configure: (options: Partial) => void; /** Encola una notificación agrupada; mismas opciones que `notification.message`. */ message: (options: import('./Message.types').NotifyMessageOptions) => number; /** Vacía el mazo explícito `primary` o `secondary` (equivale a `notification.dismissGroup`). */ dismissNotification: (stackGroup: import('./Message.types').NotifyMessageStackGroup) => void; /** Vacía el mazo por `stackKey` (p. ej. `'auto'`). */ dismissNotificationStack: (stackKey: string) => void; /** Configura duración, posición, `stackMax`, barra de tiempo, etc., del servicio de notificaciones. */ configureNotification: (options: Partial) => void; }; //# sourceMappingURL=Message.services.d.ts.map