/**
 * 列表视图顶部第一行amisSchema
 * @param {*} objectSchema 对象UISchema
 * @returns amisSchema
 */
export function getObjectListHeaderFirstLine(objectSchema: any, listViewName: any, ctx: any): {
    type: string;
    columns: ({
        body: {
            type: string;
            columns: ({
                body: {
                    type: string;
                    className: string;
                    tpl: string;
                };
                md: string;
                className: string;
                columnClassName: string;
                valign: string;
            } | {
                body: ({
                    type: string;
                    tpl: string;
                    inline: boolean;
                    wrapperComponent: string;
                    className: string;
                    label?: undefined;
                    rightIcon?: undefined;
                    size?: undefined;
                    hideCaret?: undefined;
                    closeOnClick?: undefined;
                    visibleOn?: undefined;
                    btnClassName?: undefined;
                    buttons?: undefined;
                } | {
                    type: string;
                    className: string;
                    label: string;
                    rightIcon: string;
                    size: string;
                    hideCaret: boolean;
                    closeOnClick: boolean;
                    visibleOn: string;
                    btnClassName: string;
                    buttons: any[];
                    tpl?: undefined;
                    inline?: undefined;
                    wrapperComponent?: undefined;
                } | {
                    type: string;
                    className: string;
                    tpl: string;
                    visibleOn: string;
                    inline?: undefined;
                    wrapperComponent?: undefined;
                    label?: undefined;
                    rightIcon?: undefined;
                    size?: undefined;
                    hideCaret?: undefined;
                    closeOnClick?: undefined;
                    btnClassName?: undefined;
                    buttons?: undefined;
                })[];
                md: string;
                columnClassName: string;
                className?: undefined;
                valign?: undefined;
            })[];
            className: string;
        }[];
        md: string;
        valign?: undefined;
    } | {
        body: {
            type: string;
            items: {
                type: string;
                icon: string;
                size: string;
                hideCaret: boolean;
                className: string;
                closeOnClick: boolean;
                menuClassName: string;
                align: string;
                body: ({
                    type: string;
                    style: {
                        "z-index": number;
                        background: string;
                        height: string;
                        width: string;
                        padding: string;
                        margin: string;
                        "border-radius": string;
                        position?: undefined;
                        bottom?: undefined;
                        left?: undefined;
                        "box-shadow"?: undefined;
                    };
                    body?: undefined;
                } | {
                    type: string;
                    style: {
                        position: string;
                        bottom: number;
                        "z-index": number;
                        width: string;
                        left: string;
                        padding: string;
                        background: string;
                        "box-shadow": string;
                        height?: undefined;
                        margin?: undefined;
                        "border-radius"?: undefined;
                    };
                    body: ({
                        type: string;
                        justify: string;
                        items: ({
                            type: string;
                            tpl: string;
                            style: {
                                padding: string;
                                "align-items": string;
                                display: string;
                                color?: undefined;
                            };
                            label?: undefined;
                            icon?: undefined;
                            level?: undefined;
                        } | {
                            type: string;
                            label: string;
                            icon: string;
                            level: string;
                            style: {
                                color: string;
                                padding?: undefined;
                                "align-items"?: undefined;
                                display?: undefined;
                            };
                            tpl?: undefined;
                        })[];
                        style: {
                            "padding-top": string;
                            "padding-bottom": string;
                            "border-bottom": string;
                            padding?: undefined;
                            overflow?: undefined;
                            "max-height"?: undefined;
                        };
                        body?: undefined;
                    } | {
                        type: string;
                        body: {
                            type: string;
                            id: string;
                            vertical: boolean;
                            tiled: boolean;
                            buttons: any;
                            className: string;
                            btnClassName: string;
                            size: string;
                        }[];
                        style: {
                            padding: string;
                            overflow: string;
                            "max-height": string;
                            "padding-top"?: undefined;
                            "padding-bottom"?: undefined;
                            "border-bottom"?: undefined;
                        };
                        justify?: undefined;
                        items?: undefined;
                    })[];
                })[];
            } | {
                type: string;
                name: any;
                objectName: any;
                visibleOn: any;
                className: string;
            }[];
        }[];
        md: string;
        valign: string;
    })[];
    className: string;
};
/**
 * 列表视图顶部第二行amisSchema
 * @param {*} objectSchema 对象UISchema
 * @returns amisSchema
 */
export function getObjectListHeaderSecordLine(objectSchema: any, listViewName: any, ctx: any): Promise<{
    type: string;
    columns: ({
        body: {
            type: string;
            tpl: string;
            visibleOn: string;
            inline: boolean;
            wrapperComponent: string;
            className: string;
            style: {
                fontFamily: string;
                fontSize: number;
            };
            id: string;
        }[];
        md: string;
        columnClassName: string;
    } | {
        body: ({
            type: string;
            label: string;
            icon: string;
            className: string;
            onEvent: {
                click: {
                    actions: {
                        actionType: string;
                        args: {
                            eventName: string;
                        };
                    }[];
                };
            };
        } | {
            type: string;
            label: string;
            icon: string;
            actionType: string;
            target: string;
            className: string;
        })[];
        md: string;
        columnClassName?: undefined;
    })[];
    className: string;
}>;
/**
 * 列表视图顶部放大镜过滤条件栏amisSchema
 * @param {*} objectSchema 对象UISchema
 * @returns amisSchema
 */
export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewName: any, ctx: any): Promise<{
    type: string;
    name: string;
    data: {};
    dataProvider: {
        inited: string;
    };
    body: {
        type: string;
        body: {
            type: string;
            body: ({
                type: string;
                visibleOn: string;
                className: string;
                style: {
                    "max-height": string;
                };
                schemaApi: {
                    method: string;
                    data: {
                        $self: string;
                        query: string;
                    };
                    url: string;
                    adaptor: string;
                    headers: {
                        Authorization: string;
                    };
                };
            } | {
                type: string;
                body: {
                    type: string;
                    body: ({
                        type: string;
                        level: string;
                        id: string;
                        label: string;
                        icon: string;
                        onEvent: {
                            click: {
                                actions: {
                                    actionType: string;
                                    script: string;
                                }[];
                            };
                        };
                        name?: undefined;
                    } | {
                        type: string;
                        label: string;
                        name: string;
                        onEvent: {
                            click: {
                                actions: {
                                    actionType: string;
                                    script: string;
                                }[];
                            };
                        };
                        level?: undefined;
                        id?: undefined;
                        icon?: undefined;
                    } | {
                        type: string;
                        label: string;
                        onEvent: {
                            click: {
                                actions: {
                                    actionType: string;
                                    dialog: {
                                        type: string;
                                        size: string;
                                        title: string;
                                        body: {
                                            type: string;
                                            title: string;
                                            body: {
                                                label: string;
                                                type: string;
                                                name: string;
                                                id: string;
                                                source: {
                                                    method: string;
                                                    url: string;
                                                    dataType: string;
                                                    headers: {
                                                        Authorization: string;
                                                    };
                                                    data: {
                                                        $self: string;
                                                    };
                                                    requestAdaptor: string;
                                                    adaptor: string;
                                                };
                                                options: any[];
                                                required: boolean;
                                                placeholder: string;
                                                className: string;
                                                checkAll: boolean;
                                                searchable: boolean;
                                                sortable: boolean;
                                                joinValues: boolean;
                                                extractValue: boolean;
                                                multiple: boolean;
                                            }[];
                                            id: string;
                                            mode: string;
                                            persistData: boolean;
                                            promptPageLeave: boolean;
                                            name: string;
                                            debug: boolean;
                                            actions: any[];
                                            panelClassName: string;
                                            bodyClassName: string;
                                            className: string;
                                        }[];
                                        actions: ({
                                            type: string;
                                            label: string;
                                            onEvent: {
                                                click: {
                                                    actions: {
                                                        componentId: string;
                                                        args: {};
                                                        actionType: string;
                                                    }[];
                                                };
                                            };
                                            id: string;
                                            level?: undefined;
                                        } | {
                                            type: string;
                                            label: string;
                                            onEvent: {
                                                click: {
                                                    actions: ({
                                                        actionType: string;
                                                        script: string;
                                                        componentId?: undefined;
                                                        args?: undefined;
                                                    } | {
                                                        componentId: string;
                                                        args: {};
                                                        actionType: string;
                                                        script?: undefined;
                                                    })[];
                                                };
                                            };
                                            id: string;
                                            level: string;
                                        })[];
                                        closeOnEsc: boolean;
                                        closeOnOutside: boolean;
                                        showCloseButton: boolean;
                                        data: {
                                            "&": string;
                                            objectName: string;
                                            listName: string;
                                            listViewId: string;
                                            uiSchema: string;
                                            isLookup: string;
                                            context: string;
                                            fields: string;
                                        };
                                    };
                                }[];
                            };
                        };
                        level: string;
                        id?: undefined;
                        icon?: undefined;
                        name?: undefined;
                    })[];
                    size: string;
                    className: string;
                };
                size: string;
                className: string;
            })[];
            size: string;
            className: string;
        };
        size: string;
        className: string;
        visibleOn: string;
    };
    className: string;
}>;
/**
 * 列表视图顶部amisSchema
 * @param {*} objectSchema 对象UISchema
 * @returns amisSchema
 */
export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: any): {
    type: string;
    body: {
        type: string;
        columns: ({
            body: {
                type: string;
                columns: ({
                    body: {
                        type: string;
                        className: string;
                        tpl: string;
                    };
                    md: string;
                    className: string;
                    columnClassName: string;
                    valign: string;
                } | {
                    body: ({
                        type: string;
                        tpl: string;
                        inline: boolean;
                        wrapperComponent: string;
                        className: string;
                        label?: undefined;
                        rightIcon?: undefined;
                        size?: undefined;
                        hideCaret?: undefined;
                        closeOnClick?: undefined;
                        visibleOn?: undefined;
                        btnClassName?: undefined;
                        buttons?: undefined;
                    } | {
                        type: string;
                        className: string;
                        label: string;
                        rightIcon: string;
                        size: string;
                        hideCaret: boolean;
                        closeOnClick: boolean;
                        visibleOn: string;
                        btnClassName: string;
                        buttons: any[];
                        tpl?: undefined;
                        inline?: undefined;
                        wrapperComponent?: undefined;
                    } | {
                        type: string;
                        className: string;
                        tpl: string;
                        visibleOn: string;
                        inline?: undefined;
                        wrapperComponent?: undefined;
                        label?: undefined;
                        rightIcon?: undefined;
                        size?: undefined;
                        hideCaret?: undefined;
                        closeOnClick?: undefined;
                        btnClassName?: undefined;
                        buttons?: undefined;
                    })[];
                    md: string;
                    columnClassName: string;
                    className?: undefined;
                    valign?: undefined;
                })[];
                className: string;
            }[];
            md: string;
            valign?: undefined;
        } | {
            body: {
                type: string;
                items: {
                    type: string;
                    icon: string;
                    size: string;
                    hideCaret: boolean;
                    className: string;
                    closeOnClick: boolean;
                    menuClassName: string;
                    align: string;
                    body: ({
                        type: string;
                        style: {
                            "z-index": number;
                            background: string;
                            height: string;
                            width: string;
                            padding: string;
                            margin: string;
                            "border-radius": string;
                            position?: undefined;
                            bottom?: undefined;
                            left?: undefined;
                            "box-shadow"?: undefined;
                        };
                        body?: undefined;
                    } | {
                        type: string;
                        style: {
                            position: string;
                            bottom: number;
                            "z-index": number;
                            width: string;
                            left: string;
                            padding: string;
                            background: string;
                            "box-shadow": string;
                            height?: undefined;
                            margin?: undefined;
                            "border-radius"?: undefined;
                        };
                        body: ({
                            type: string;
                            justify: string;
                            items: ({
                                type: string;
                                tpl: string;
                                style: {
                                    padding: string;
                                    "align-items": string;
                                    display: string;
                                    color?: undefined;
                                };
                                label?: undefined;
                                icon?: undefined;
                                level?: undefined;
                            } | {
                                type: string;
                                label: string;
                                icon: string;
                                level: string;
                                style: {
                                    color: string;
                                    padding?: undefined;
                                    "align-items"?: undefined;
                                    display?: undefined;
                                };
                                tpl?: undefined;
                            })[];
                            style: {
                                "padding-top": string;
                                "padding-bottom": string;
                                "border-bottom": string;
                                padding?: undefined;
                                overflow?: undefined;
                                "max-height"?: undefined;
                            };
                            body?: undefined;
                        } | {
                            type: string;
                            body: {
                                type: string;
                                id: string;
                                vertical: boolean;
                                tiled: boolean;
                                buttons: any;
                                className: string;
                                btnClassName: string;
                                size: string;
                            }[];
                            style: {
                                padding: string;
                                overflow: string;
                                "max-height": string;
                                "padding-top"?: undefined;
                                "padding-bottom"?: undefined;
                                "border-bottom"?: undefined;
                            };
                            justify?: undefined;
                            items?: undefined;
                        })[];
                    })[];
                } | {
                    type: string;
                    name: any;
                    objectName: any;
                    visibleOn: any;
                    className: string;
                }[];
            }[];
            md: string;
            valign: string;
        })[];
        className: string;
    }[];
    className: string;
}[];
/**
 * 记录详细界面顶部头amisSchema，也是标题面板组件的amisSchema
 * @param {*} objectSchema 对象UISchema
 * @param {*} recordId 记录id
 * @param {*} optioins: {showRecordTitle: true}
 * @returns amisSchema
 */
export function getObjectRecordDetailHeader(objectSchema: any, recordId: any, options: any): Promise<{
    type: string;
    id: string;
    name: string;
    body: {
        type: string;
        className: string;
        body: {
            type: string;
            columns: ({
                body: {
                    type: string;
                    columns: ({
                        body: ({
                            type: string;
                            className: string;
                            onEvent: {
                                "@history_paths.changed": {
                                    actions: {
                                        actionType: string;
                                        data: {};
                                    }[];
                                };
                            };
                            body: {
                                type: string;
                                visibleOn: string;
                                className: string;
                                onEvent: {
                                    click: {
                                        actions: {
                                            actionType: string;
                                            script: string;
                                        }[];
                                    };
                                };
                                body: {
                                    type: string;
                                    category: string;
                                    name: string;
                                    colorVariant: string;
                                    className: string;
                                }[];
                            }[];
                        } | {
                            type: string;
                            visibleOn: string;
                            className: string;
                            onEvent: {
                                click: {
                                    actions: {
                                        componentId: string;
                                        args: {};
                                        actionType: string;
                                    }[];
                                };
                            };
                            body: {
                                type: string;
                                category: string;
                                name: string;
                                colorVariant: string;
                                className: string;
                            }[];
                            tpl?: undefined;
                        } | {
                            type: string;
                            className: string;
                            tpl: string;
                            visibleOn?: undefined;
                            onEvent?: undefined;
                            body?: undefined;
                        })[];
                        md: string;
                        className: string;
                        columnClassName: string;
                    } | {
                        body: {
                            type: string;
                            tpl: string;
                            inline: boolean;
                            wrapperComponent: string;
                            className: string;
                        }[];
                        columnClassName: string;
                        md?: undefined;
                        className?: undefined;
                    })[];
                    className: string;
                }[];
                columnClassName: string;
                md: string;
            } | {
                body: {
                    type: string;
                    items: any[];
                };
                md: string;
                columnClassName: string;
            })[];
            className: string;
        }[];
        hiddenOn: string;
    }[];
    className: string;
}>;
/**
 * 记录详细界面中相关表顶部头amisSchema
 * @param {*} relatedObjectSchema 相关对象UISchema
 * @returns amisSchema
 */
export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any, relatedLabel: any, ctx: any): Promise<{
    type: string;
    body: {
        type: string;
        valign: string;
        columns: ({
            body: {
                type: string;
                valign: string;
                className: string;
                columns: ({
                    body: {
                        type: string;
                        className: string;
                        tpl: string;
                    };
                    md: string;
                    className: string;
                    columnClassName: string;
                    valign?: undefined;
                } | {
                    body: {
                        type: string;
                        tpl: string;
                        inline: boolean;
                        wrapperComponent: string;
                        className: string;
                    }[];
                    md: string;
                    valign: string;
                    columnClassName: string;
                    className?: undefined;
                })[];
            }[];
            md: string;
        } | {
            body: {
                type: string;
                items: {
                    type: string;
                    icon: string;
                    size: string;
                    hideCaret: boolean;
                    className: string;
                    closeOnClick: boolean;
                    menuClassName: string;
                    align: string;
                    body: ({
                        type: string;
                        style: {
                            "z-index": number;
                            background: string;
                            height: string;
                            width: string;
                            padding: string;
                            margin: string;
                            "border-radius": string;
                            position?: undefined;
                            bottom?: undefined;
                            left?: undefined;
                            "box-shadow"?: undefined;
                        };
                        body?: undefined;
                    } | {
                        type: string;
                        style: {
                            position: string;
                            bottom: number;
                            "z-index": number;
                            width: string;
                            left: string;
                            padding: string;
                            background: string;
                            "box-shadow": string;
                            height?: undefined;
                            margin?: undefined;
                            "border-radius"?: undefined;
                        };
                        body: ({
                            type: string;
                            justify: string;
                            items: ({
                                type: string;
                                tpl: string;
                                style: {
                                    padding: string;
                                    "align-items": string;
                                    display: string;
                                    color?: undefined;
                                };
                                label?: undefined;
                                icon?: undefined;
                                level?: undefined;
                            } | {
                                type: string;
                                label: string;
                                icon: string;
                                level: string;
                                style: {
                                    color: string;
                                    padding?: undefined;
                                    "align-items"?: undefined;
                                    display?: undefined;
                                };
                                tpl?: undefined;
                            })[];
                            style: {
                                "padding-top": string;
                                "padding-bottom": string;
                                "border-bottom": string;
                                padding?: undefined;
                                overflow?: undefined;
                                "max-height"?: undefined;
                            };
                            body?: undefined;
                        } | {
                            type: string;
                            body: {
                                type: string;
                                id: string;
                                vertical: boolean;
                                tiled: boolean;
                                buttons: any;
                                className: string;
                                btnClassName: string;
                                size: string;
                            }[];
                            style: {
                                padding: string;
                                overflow: string;
                                "max-height": string;
                                "padding-top"?: undefined;
                                "padding-bottom"?: undefined;
                                "border-bottom"?: undefined;
                            };
                            justify?: undefined;
                            items?: undefined;
                        })[];
                    })[];
                }[] | {
                    type: string;
                    name: any;
                    objectName: any;
                    visibleOn: any;
                    className: string;
                }[];
            };
            md: string;
        })[];
        className: string;
    }[];
    className: string;
}>;
/**
 * 点击记录详细界面相关表顶部标题进入的相关表页面的顶部amisSchema
 * @param {*} objectSchema
 * @param {*} recordId
 * @param {*} relatedObjectName
 * @returns amisSchema
 */
export function getObjectRelatedListHeader(objectSchema: any, recordId: any, relatedObjectName: any): Promise<void>;
