interface PopupExportComponents {
    [propName:string]:PopupExportOptions
}

interface PopupExportOptions {
    options: Record<string, any>,
    name: string
}



declare const enum LibDataComponents {
    text,
    input,
    date,
    address,
    textarea,
    upload,
    radio,
    picker
}

interface PopupComponent {
    open:(name:string,options?:Record<string, any>)=>string;
    close:(name:string)=>void
}

interface PopupToastOption {
    title?:string,
    duration?:number,
    description?:string,
    confirm?:Function,
    cancel?:Function
}

interface PopupSelectOptions {
    data:LibDataArray,
    [propName:string]:any
}


type PopupToastOptions = string | PopupToastOption;

