import type { VoidField } from '@tachybase/schema';
export declare const useShared: () => {
    importSettingsSchema: {
        type: string;
        'x-component': string;
        properties: {
            explain: {
                type: string;
                title: string;
                'x-decorator': string;
                'x-component': string;
            };
            importColumns: {
                type: string;
                'x-component': string;
                'x-decorator': string;
                items: {
                    type: string;
                    properties: {
                        space: {
                            type: string;
                            'x-component': string;
                            'x-component-props': {
                                className: string;
                            };
                            properties: {
                                sort: {
                                    type: string;
                                    'x-decorator': string;
                                    'x-component': string;
                                };
                                dataIndex: {
                                    type: string;
                                    'x-decorator': string;
                                    'x-component': import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<unknown>>;
                                    required: boolean;
                                    enum: any[];
                                    'x-component-props': {
                                        fieldNames: {
                                            label: string;
                                            value: string;
                                            children: string;
                                        };
                                        changeOnSelect: boolean;
                                    };
                                };
                                remove: {
                                    type: string;
                                    'x-decorator': string;
                                    'x-component': string;
                                };
                            };
                        };
                    };
                };
                properties: {
                    add: {
                        type: string;
                        title: string;
                        'x-component': string;
                        'x-component-props': {
                            className: string;
                        };
                    };
                };
            };
        };
    };
    beforeUploadHandler(): boolean;
    uploadValidator(value: any, rule: any): "" | {
        type: string;
        message: string;
    };
    validateUpload(form: any, submitField: VoidField, deps: any): void;
};
