export function getAttachments(instance: any): Promise<{
    type: string;
    className: string;
    headerClassName: string;
    bodyClassName: string;
    title: ({
        type: string;
        tpl: string;
        title?: undefined;
        body?: undefined;
        id?: undefined;
        wrapWithPanel?: undefined;
    } | {
        type: string;
        title: string;
        body: {
            type: string;
            labelClassName: string;
            className: string;
            label: string;
            mode: string;
            name: string;
            id: string;
            btnLabel: string;
            btnClassName: string;
            multiple: boolean;
            maxLength: number;
            submitType: string;
            uploadType: string;
            proxy: boolean;
            drag: boolean;
            autoUpload: boolean;
            useChunk: boolean;
            joinValues: boolean;
            extractValue: boolean;
            valueField: string;
            receiver: {
                url: string;
                headers: {
                    Authorization: string;
                };
                method: string;
                messages: {};
                dataType: string;
                requestAdaptor: string;
            };
            onEvent: {
                success: {
                    weight: number;
                    actions: ({
                        componentId: string;
                        args: {
                            msgType?: undefined;
                            position?: undefined;
                            closeButton?: undefined;
                            showIcon?: undefined;
                            msg?: undefined;
                        };
                        actionType: string;
                    } | {
                        componentId: string;
                        args: {
                            msgType: string;
                            position: string;
                            closeButton: boolean;
                            showIcon: boolean;
                            msg: string;
                        };
                        actionType: string;
                    })[];
                };
            };
        }[];
        id: string;
        wrapWithPanel: boolean;
        tpl?: undefined;
    })[];
    body: {
        type: string;
        id: string;
        api: {
            method: string;
            url: string;
            dataType: string;
            headers: {
                Authorization: string;
            };
            requestAdaptor: string;
        };
        body: {
            type: string;
            source: string;
            title: boolean;
            listItem: {
                body: {
                    type: string;
                    inline: boolean;
                    tpl: string;
                }[];
                actions: any[];
                id: string;
            };
            id: string;
        }[];
    }[];
}>;
export function getAttachmentUploadInput(instance: any): Promise<{
    type: string;
    tpl: string;
    title?: undefined;
    body?: undefined;
    id?: undefined;
    wrapWithPanel?: undefined;
} | {
    type: string;
    title: string;
    body: {
        type: string;
        labelClassName: string;
        className: string;
        label: string;
        mode: string;
        name: string;
        id: string;
        btnLabel: string;
        btnClassName: string;
        multiple: boolean;
        maxLength: number;
        submitType: string;
        uploadType: string;
        proxy: boolean;
        drag: boolean;
        autoUpload: boolean;
        useChunk: boolean;
        joinValues: boolean;
        extractValue: boolean;
        valueField: string;
        receiver: {
            url: string;
            headers: {
                Authorization: string;
            };
            method: string;
            messages: {};
            dataType: string;
            requestAdaptor: string;
        };
        onEvent: {
            success: {
                weight: number;
                actions: ({
                    componentId: string;
                    args: {
                        msgType?: undefined;
                        position?: undefined;
                        closeButton?: undefined;
                        showIcon?: undefined;
                        msg?: undefined;
                    };
                    actionType: string;
                } | {
                    componentId: string;
                    args: {
                        msgType: string;
                        position: string;
                        closeButton: boolean;
                        showIcon: boolean;
                        msg: string;
                    };
                    actionType: string;
                })[];
            };
        };
    }[];
    id: string;
    wrapWithPanel: boolean;
    tpl?: undefined;
}>;
