///
declare namespace BalProps {
type BalModalInterface = 'light' | 'card';
type BalModalSpace = 'small' | '' | 'medium';
type ComponentProps = {
[key: string]: any;
};
type ComponentRef = Function | HTMLElement | string | null;
interface FrameworkDelegate {
attachViewToDom(container: any, component: any, propsOrDataObj?: any, cssClasses?: string[]): Promise;
removeViewFromDom(container: any, component: any): Promise;
}
}
declare namespace BalEvents {
interface OverlayEventDetail {
data?: T;
role?: string;
}
interface BalModalCustomEvent extends CustomEvent {
detail: T;
target: HTMLBalModalElement;
}
type BalModalDidPresentDetail = void;
type BalModalDidPresent = BalModalCustomEvent;
type BalModalWillPresentDetail = void;
type BalModalWillPresent = BalModalCustomEvent;
type BalModalDidDismissDetail = any;
type BalModalDidDismiss = BalModalCustomEvent;
type BalModalWillDismissDetail = any;
type BalModalWillDismiss = BalModalCustomEvent;
}