import { THeaderWidgetAttrs } from '../widgets/page-header';
export declare const activeWidgetId: import('vue').Ref<string | null>;
export declare const activeWidget: import('vue').ComputedRef<{
    type: "pageHeader";
    attrs: {
        showImage: boolean;
        align: string;
        title: string;
        desc: string;
        headerImage: string;
    };
    id: string;
} | {
    id: string;
    type: import('../widgets').WidgetType;
    attrs: AnyRecord;
} | TWidget<"contactUs"> | null>;
export declare const activeWidgetIndex: import('vue').ComputedRef<number | null>;
export declare const activeWidgetType: import('vue').ComputedRef<"textarea" | "button" | "file" | "resume" | "work" | "sort" | "basicInput" | "fillBlank" | "emailInput" | "idCardInput" | "shortAnswer" | "phoneInput" | "numberInput" | "nameInput" | "companyInput" | "departmentInput" | "positionInput" | "ageInput" | "basicSelect" | "multiSelect" | "businessSelect" | "nationSelect" | "regionSelect" | "rate" | "date" | "basicRadio" | "checkbox" | "imgRadio" | "imgCheckbox" | "occupationRadio" | "sexRadio" | "educationRadio" | "ageRadio" | "geolocation" | "mapNavigation" | "carousel" | "pageHeader" | "contactUs" | "pagination" | "description" | "eduRadio" | "fillBlank2" | "shortAnswer2" | "numberFillBlank" | "eduCheckbox" | "eduJudgement" | "eduImgRadio" | "eduImgCheckbox" | "eduSelect" | "appoint" | "gainWithPic" | "gainWithoutPic" | "groupTitle" | "preparerNameInput" | "preparerIdCardInput" | "preparerPhoneInput" | "preparerWorkIdInput" | "watermark" | "location" | "checkEntry" | "image" | "basicTable" | "dynamicTable" | "idCardOcr" | "bankCardOcr" | "vehicleLicenseOcr" | "driverLicenseOcr" | "businessLicenseOcr" | "specialCertificateOcr" | "vatInvoiceOcr" | "customTableOcr" | undefined>;
export declare const activeWidgetAttrs: import('vue').ComputedRef<AnyRecord | undefined>;
export declare const activeWidgetInfo: import('vue').ComputedRef<WidgetInfo | null>;
export declare const setActiveWidget: (widgetId: string | null) => void;
export declare const scrollToWidget: (widgetId: string) => Promise<void>;
export declare const setMinLength: (length: number | null) => void;
export declare const setMaxLength: (length: number | null) => void;
export declare const setPageHeaderAttrs: (attr: keyof THeaderWidgetAttrs, value: any) => void;
export declare const setHeaderActive: (headerId: string) => void;
export declare const setWidgetAttrs: ({ id, attr, value }: {
    id?: string | null;
    attr: string;
    value: any;
}) => void;
export declare const setRatingAttrs: (attr: string, value: any) => void;
export declare const setDateAttrs: (attr: string, value: any) => void;
export declare const addOptions: (id: string, options: any[]) => void;
export declare const deleteOption: (id: string, optionId: string) => void;
export declare const setImportant: (val: boolean) => void;
export declare const setPlaceholder: (val: string) => void;
export declare const setOptionVal: (optionId: string, val: string) => void;
export declare const setOptionInput: (optionId: string, val: string) => void;
export declare const setSupplyInput: (optionId: string, val: string) => void;
export declare const setMinNum: (val: number | null) => void;
export declare const setMaxNum: (val: number | null) => void;
export declare const setRequired: (required: boolean, widgetId?: string | null) => void;
export declare const setAllRequired: (required: boolean) => void;
export declare const setOptionRandom: (val: boolean) => void;
export declare const setActiveWidgetRows: (rows: number) => void;
export declare const setMapNavAttrs: (attr: AnyRecord) => void;
export declare const setMultiplyAppoint: (value: number | null) => void;
export declare const setMultiplyQuota: (value: number | null) => void;
export declare const setMultiplyAvail: (value: number | null) => void;
export declare const setViewVoteRate: (value: number | null) => void;
export declare const setPrefixStock: (value: number | null) => void;
export declare const setSuffixStock: (value: number | null) => void;
