export function getReferenceToSync(field: any): {
    objectName: any;
    valueField: any;
    labelField: any;
    NAME_FIELD_KEY: any;
};
export function getLookupSapceUserTreeSchema(isMobile: any): ({
    type: string;
    className: string;
    inputClassName: string;
    source: {
        method: string;
        url: string;
        headers: {
            Authorization: string;
        };
        adaptor: string;
        data: {
            query: string;
        };
        messages: {};
        cache: number;
    };
    onEvent: {
        change: {
            actions: {
                actionType: string;
                script: string;
            }[];
        };
    };
    label: string;
    mode: string;
    name: string;
    multiple: boolean;
    joinValues: boolean;
    clearValueOnHidden: boolean;
    fieldName: string;
    hideRoot: boolean;
    initiallyOpen: boolean;
    extractValue: boolean;
    onlyChildren: boolean;
    treeContainerClassName: string;
    showIcon: boolean;
    enableNodePath: boolean;
    autoCheckChildren: boolean;
    searchable: boolean;
    searchConfig: {
        sticky: boolean;
        placeholder: string;
    };
    unfoldedLevel: number;
    originPosition: string;
} | {
    type: string;
    body: {
        type: string;
        body: {
            type: string;
            className: string;
            inputClassName: string;
            source: {
                method: string;
                url: string;
                headers: {
                    Authorization: string;
                };
                adaptor: string;
                data: {
                    query: string;
                };
                messages: {};
                cache: number;
            };
            onEvent: {
                change: {
                    actions: {
                        actionType: string;
                        script: string;
                    }[];
                };
            };
            label: string;
            mode: string;
            name: string;
            multiple: boolean;
            joinValues: boolean;
            clearValueOnHidden: boolean;
            fieldName: string;
            hideRoot: boolean;
            initiallyOpen: boolean;
            extractValue: boolean;
            onlyChildren: boolean;
            treeContainerClassName: string;
            showIcon: boolean;
            enableNodePath: boolean;
            autoCheckChildren: boolean;
            searchable: boolean;
            searchConfig: {
                sticky: boolean;
                placeholder: string;
            };
            unfoldedLevel: number;
            originPosition: string;
        }[];
        className: string;
    }[];
    className: string;
    onEvent: {
        click: {
            actions: {
                actionType: string;
                script: string;
            }[];
        };
    };
    id: string;
    label?: undefined;
    icon?: undefined;
    align?: undefined;
} | {
    type: string;
    label: string;
    icon: string;
    className: string;
    align: string;
    onEvent: {
        click: {
            actions: {
                actionType: string;
                script: string;
            }[];
        };
    };
    id: string;
    body?: undefined;
})[];
export function lookupToAmisPicker(field: any, readonly: any, ctx: any): Promise<{
    type: any;
    className: any;
    modalTitle: string;
    labelField: any;
    valueField: any;
    disabledOn: string;
    modalMode: string;
    source: {
        method: string;
        url: string;
        data: {
            orderBy: string;
            orderDir: string;
            pageNo: string;
            pageSize: string;
            queryFields: string;
            query: string;
        };
        headers: {
            Authorization: string;
        };
    };
    size: string;
    pickerSchema: any;
    joinValues: boolean;
    extractValue: boolean;
}>;
export function lookupToAmisSelect(field: any, readonly: any, ctx: any): Promise<{
    type: any;
    joinValues: boolean;
    extractValue: boolean;
    clearable: boolean;
    disabledOn: string;
    autoComplete: {
        method: string;
        url: string;
        data: {
            orderBy: string;
            orderDir: string;
            pageNo: string;
            pageSize: string;
            queryFields: string;
            query: string;
        };
        headers: {
            Authorization: string;
        };
    } | {
        method: string;
        data: {
            $: string;
            query: string;
        };
        url: string;
    };
    searchable: boolean;
}>;
export function lookupToAmis(field: any, readonly: any, ctx: any): Promise<any>;
export function lookupToAmisSelectUser(field: any, readonly: any, ctx: any): Promise<{}>;
export function lookupToAmisIdsPicker(field: any, readonly: any, ctx: any): Promise<{
    type: any;
    labelField: any;
    valueField: any;
    modalMode: string;
    source: {
        method: string;
        url: string;
        data: {
            orderBy: string;
            orderDir: string;
            pageNo: string;
            pageSize: string;
            queryFields: string;
            query: string;
        };
        headers: {
            Authorization: string;
        };
    };
    disabledOn: string;
    size: string;
    pickerSchema: {
        perPage: any;
        mode: string;
        perPageAvailable: number[];
        name: string;
        headerToolbarClassName: string;
        className: string;
        draggable: boolean;
        card: any;
        syncLocation: boolean;
        keepItemSelectionOnPageChange: boolean;
        checkOnItemClick: boolean;
        labelTpl: string;
        autoFillHeight: boolean;
        columnsTogglable: boolean;
    } | {
        perPage: any;
        expandConfig: {
            expand: string;
        };
        mode: string;
        perPageAvailable: number[];
        name: string;
        headerToolbarClassName: string;
        className: string;
        draggable: boolean;
        columns: any[];
        syncLocation: boolean;
        keepItemSelectionOnPageChange: boolean;
        checkOnItemClick: boolean;
        labelTpl: string;
        autoFillHeight: boolean;
        columnsTogglable: boolean;
    } | {
        perPage: any;
        mode: string;
        name: string;
        draggable: boolean;
        headerToolbar: string[];
        syncLocation: boolean;
        keepItemSelectionOnPageChange: boolean;
        checkOnItemClick: boolean;
        labelTpl: string;
        listItem: {
            body: {
                name: any;
                label: any;
                sortable: any;
                width: any;
                type: string;
                tpl: string;
                toggled: any;
            }[];
            actions: {
                icon: string;
                label: string;
                type: string;
                actionType: string;
                link: string;
            }[];
        };
    };
    joinValues: boolean;
    extractValue: boolean;
}>;
export function getIdsPickerSchema(field: any, readonly: any, ctx: any): Promise<{
    type: any;
    labelField: any;
    valueField: any;
    modalMode: string;
    source: {
        method: string;
        url: string;
        data: {
            orderBy: string;
            orderDir: string;
            pageNo: string;
            pageSize: string;
            queryFields: string;
            query: string;
        };
        headers: {
            Authorization: string;
        };
    };
    disabledOn: string;
    size: string;
    pickerSchema: {
        perPage: any;
        mode: string;
        perPageAvailable: number[];
        name: string;
        headerToolbarClassName: string;
        className: string;
        draggable: boolean;
        card: any;
        syncLocation: boolean;
        keepItemSelectionOnPageChange: boolean;
        checkOnItemClick: boolean;
        labelTpl: string;
        autoFillHeight: boolean;
        columnsTogglable: boolean;
    } | {
        perPage: any;
        expandConfig: {
            expand: string;
        };
        mode: string;
        perPageAvailable: number[];
        name: string;
        headerToolbarClassName: string;
        className: string;
        draggable: boolean;
        columns: any[];
        syncLocation: boolean;
        keepItemSelectionOnPageChange: boolean;
        checkOnItemClick: boolean;
        labelTpl: string;
        autoFillHeight: boolean;
        columnsTogglable: boolean;
    } | {
        perPage: any;
        mode: string;
        name: string;
        draggable: boolean;
        headerToolbar: string[];
        syncLocation: boolean;
        keepItemSelectionOnPageChange: boolean;
        checkOnItemClick: boolean;
        labelTpl: string;
        listItem: {
            body: {
                name: any;
                label: any;
                sortable: any;
                width: any;
                type: string;
                tpl: string;
                toggled: any;
            }[];
            actions: {
                icon: string;
                label: string;
                type: string;
                actionType: string;
                link: string;
            }[];
        };
    };
    joinValues: boolean;
    extractValue: boolean;
}>;
export function getReferenceToFieldSchema(field: any, refObjectConfig: any): {
    objectName: any;
    valueField: any;
    labelField: any;
    NAME_FIELD_KEY: any;
};
export function getReferenceTo(field: any): Promise<{
    objectName: any;
    valueField: any;
    labelField: any;
    NAME_FIELD_KEY: any;
}>;
