import { Component } from 'react';
export default class saveTpl extends Component {
    state: {
        visible: boolean;
        isAddTag: boolean;
        form: {
            title: string;
            sub_title: string;
            ctg_pid: any;
            ctg_id: any;
            is_hot: boolean;
            is_bigshrimp: boolean;
            tag: any[];
        };
        rules: {
            title: {
                required: boolean;
                message: string;
                trigger: string;
            }[];
            sub_title: {
                required: boolean;
                message: string;
                trigger: string;
            }[];
            ctg_id: {
                required: boolean;
                type: string;
                message: string;
                trigger: string;
            }[];
        };
        category: any[];
    };
    /**
     * boolean值显示与隐藏
     * @param field 字段
     * @param status 状态 - 非 boolean 类型 取反
     */
    setBoolValue: (field: any, status: boolean | undefined) => void;
    componentDidMount(): void;
    onChange: (key: any, value: any) => void;
    /**
     * 删除 TAG
     * @param tag 要删除的 tag
     */
    delTag(tag: any): void;
    /**
     * 添加 TAG 的input 切换
     */
    showAddTag(): void;
    /**
     * 添加 TAG 的input focus 事件
     * @param ev
     */
    changeTag(ev: any): void;
    render(): JSX.Element;
}
