export type ModalHandle = {
    destroy(): void;
    el: HTMLElement;
};
export declare function showModal(overlayRoot: HTMLElement, opts: {
    html: string;
    size?: 'sm' | 'md' | 'lg';
    blocking?: boolean;
    scrimOpacity?: number;
    onAction?: (actionId: string) => void;
}): ModalHandle;
