import { AlertCloseReason, AlertServiceHandle, AlertServiceOptions, AlertServiceClosedFn, AlertServiceSnapshot, AlertServiceUpdateOptions, AlertOverflowStrategy, AlertType, AlertEffect, AlertBeforeCloseFn } from './alert.js';
import { ComponentSize } from '../../../xiaoye-primitives/index.js';
export interface AlertServiceEntry extends AlertServiceOptions {
    id: string;
    renderKey: number;
}
type AlertServiceIdleHandler = () => void;
type AlertServiceCurrentChangeHandler = (entry: AlertServiceEntry | null) => void;
export declare const alertServiceState: {
    current: {
        id: string;
        renderKey: number;
        groupKey?: string | undefined;
        appendTo?: (string | HTMLElement) | undefined;
        maxQueue?: number | undefined;
        overflowStrategy?: AlertOverflowStrategy | undefined;
        onClosed?: AlertServiceClosedFn | undefined;
        size?: ComponentSize | undefined;
        title?: string | undefined;
        center?: boolean | undefined;
        type?: AlertType | undefined;
        description?: string | undefined;
        closable?: boolean | undefined;
        closeText?: string | undefined;
        showIcon?: boolean | undefined;
        effect?: AlertEffect | undefined;
        duration?: number | undefined;
        beforeClose?: AlertBeforeCloseFn | undefined;
        pauseOnHover?: boolean | undefined;
        pauseOnFocus?: boolean | undefined;
        pauseOnPageHidden?: boolean | undefined;
        collapsible?: boolean | undefined;
        defaultExpanded?: boolean | undefined;
        lineClamp?: number | undefined;
        expandText?: string | undefined;
        collapseText?: string | undefined;
    } | null;
    queue: {
        id: string;
        renderKey: number;
        groupKey?: string | undefined;
        appendTo?: (string | HTMLElement) | undefined;
        maxQueue?: number | undefined;
        overflowStrategy?: AlertOverflowStrategy | undefined;
        onClosed?: AlertServiceClosedFn | undefined;
        size?: ComponentSize | undefined;
        title?: string | undefined;
        center?: boolean | undefined;
        type?: AlertType | undefined;
        description?: string | undefined;
        closable?: boolean | undefined;
        closeText?: string | undefined;
        showIcon?: boolean | undefined;
        effect?: AlertEffect | undefined;
        duration?: number | undefined;
        beforeClose?: AlertBeforeCloseFn | undefined;
        pauseOnHover?: boolean | undefined;
        pauseOnFocus?: boolean | undefined;
        pauseOnPageHidden?: boolean | undefined;
        collapsible?: boolean | undefined;
        defaultExpanded?: boolean | undefined;
        lineClamp?: number | undefined;
        expandText?: string | undefined;
        collapseText?: string | undefined;
    }[];
};
export declare function isAlertServiceIdle(): boolean;
export declare function setAlertServiceIdleHandler(handler: AlertServiceIdleHandler | null): void;
export declare function setAlertServiceCurrentChangeHandler(handler: AlertServiceCurrentChangeHandler | null): void;
export declare function getAlertServiceSnapshot(): AlertServiceSnapshot;
export declare function createAlertServiceHandle(id: string): AlertServiceHandle;
export declare function upsertAlertServiceEntry(options: AlertServiceOptions): AlertServiceEntry;
export declare function dismissAlertServiceEntry(id: string, reason: AlertCloseReason): void;
export declare function requestCloseAlertServiceEntry(id: string): void;
export declare function updateAlertServiceEntry(id: string, patch: AlertServiceUpdateOptions): void;
export declare function clearAlertServiceEntries(): void;
export {};
