import { ISchema } from '@tachybase/schema';
import { SchemaSettings } from '../../../../application/schema-settings/SchemaSettings';
import { FieldNames } from '../../../../schema-component';
export declare const setDefaultSortingRules: {
    name: string;
    type: string;
    useComponentProps(): {
        title: string;
        components: {
            ArrayItems: import("@tachybase/schema").ReactFC<import("react").HTMLAttributes<HTMLDivElement>> & import("@tachybase/components").ArrayBaseMixins & {
                Item: import("@tachybase/schema").ReactFC<React.HTMLAttributes<HTMLDivElement> & {
                    type?: "card" | "divide";
                }>;
            };
        };
        schema: ISchema;
        onSubmit: ({ sort }: {
            sort: any;
        }) => void;
    };
    useVisible(): boolean;
};
export declare const allowAddNewData: {
    name: string;
    type: string;
    useVisible(): boolean;
    useComponentProps(): {
        title: string;
        checked: boolean;
        onChange(value: any): void;
    };
};
export declare const clickToSelect: {
    name: string;
    type: string;
    useVisible(): boolean;
    useComponentProps(): {
        components: {
            Switch: import("react").ForwardRefExoticComponent<Omit<import("antd").SwitchProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
            SecondLevelSelect: import("react").ForwardRefExoticComponent<import("antd").SelectProps<any, any> & {
                objectValue?: boolean;
                onChange?: (v: any) => void;
                multiple: boolean;
                rawOptions: any[];
                fieldNames: FieldNames;
                firstLevelValue: string;
                collectionField: string;
            } & import("react").RefAttributes<never>>;
        };
        title: string;
        schema: {
            type: string;
            title: string;
            properties: {
                isquickaddtabs: {
                    title: string;
                    type: string;
                    default: any;
                    'x-decorator': string;
                    'x-component': string;
                    'x-component-props': {};
                };
                firstLevelselection: {
                    title: string;
                    default: any;
                    'x-decorator': string;
                    'x-component': string;
                    enum: {
                        label: any;
                        value: any;
                        name?: any;
                        collectionName?: string;
                        sourceKey?: string;
                        uiSchema?: any;
                        target?: string;
                    }[];
                    'x-reactions': {
                        dependencies: string[];
                        fulfill: {
                            state: {
                                visible: string;
                            };
                        };
                    }[];
                    'x-component-props': {
                        onChange(value: any): void;
                    };
                };
                secondLevelselection: {
                    title: string;
                    default: any;
                    'x-decorator': string;
                    'x-component': string;
                    'x-reactions': {
                        dependencies: string[];
                        fulfill: {
                            state: {
                                visible: string;
                            };
                            schema: {
                                'x-component-props': {
                                    firstLevelValue: string;
                                    collectionField: any;
                                };
                            };
                        };
                    }[];
                };
            };
        };
        onSubmit: ({ isquickaddtabs, firstLevelselection, secondLevelselection }: {
            isquickaddtabs: any;
            firstLevelselection: any;
            secondLevelselection: any;
        }) => Promise<void>;
    };
};
export declare const subTablePopoverComponentFieldSettings: SchemaSettings<{}>;
