import React from 'react';
import { RootState } from 'typesafe-actions';
declare const mapStateToProps: (store: RootState) => {
    applicationId: never;
    folderId: never;
    contentId: never;
    visible: never;
    loading: never;
    editStatus: never;
    file: {
        application: {
            id: never;
            name: never;
        };
        deleted: never;
        intro: never;
        name: never;
        suffix: never;
        tags: {
            [x: string]: never;
        }[];
        type: never;
        online: never;
        hasContent: never;
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
        folderId: never;
    };
    mock: {
        enable: never;
        id?: undefined;
        relation?: {
            [x: string]: {
                content?: any;
                id?: undefined;
                name?: undefined;
                type: never;
            };
        } | undefined;
        schemas: {
            id: never;
            label: never;
            name: never;
            props: {
                [x: string]: any;
            };
            version: never;
            type: never;
            children?: any[] | undefined;
            extension: {
                extendId?: undefined;
                sort?: undefined;
                parentId?: undefined;
                mockId?: undefined;
            };
            directive?: {
                [x: string]: never[];
                tpl?: undefined;
                if?: never[] | undefined;
            } | undefined;
            childIds?: never[] | undefined;
            __parsedProps?: {
                [x: string]: any;
            } | undefined;
        }[];
        version?: undefined;
    };
};
declare const mapDispatchToProps: {
    updateMockModalVisible: (open: boolean) => import("typesafe-actions").PayloadAction<"BUILDER_HEADER__UPDATE_MOCK_MODAL_VISIBLE", {
        open: boolean;
    }>;
    saveMock: (params: import("@/types/builder").MockNewParams, cb?: ((versionId?: string | undefined) => void) | undefined) => import("typesafe-actions").PayloadAction<"BUILDER_HEADER__SAVE_MOCK", {
        params: import("@/types/builder").MockNewParams;
        cb: ((versionId?: string | undefined) => void) | undefined;
    }>;
    publishMock: (params: import("@/types/builder").MockPublishParams, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"BUILDER_HEADER__PUBLISH_MOCK", {
        params: import("@/types/builder").MockPublishParams;
        cb: (() => void) | undefined;
    }>;
    fetchContent: (params: import("@/types/builder").ContentFetchParams) => import("typesafe-actions").PayloadAction<"BUILDER_MAIN__FETCH_CONTENT", {
        applicationId: string;
        id: string;
        type?: import("../../../../../../../../typings").FileType | undefined;
    }>;
    updatePageEditStatus: (state: boolean) => import("typesafe-actions").PayloadAction<"BUILDER_MAIN__UPDATE_EDIT_STATUS", {
        state: boolean;
    }>;
};
declare type MockProps = ReturnType<typeof mapStateToProps> & typeof mapDispatchToProps;
declare const _default: import("react-redux").ConnectedComponent<React.FC<MockProps>, import("react-redux").Omit<{
    applicationId: never;
    folderId: never;
    contentId: never;
    visible: never;
    loading: never;
    editStatus: never;
    file: {
        application: {
            id: never;
            name: never;
        };
        deleted: never;
        intro: never;
        name: never;
        suffix: never;
        tags: {
            [x: string]: never;
        }[];
        type: never;
        online: never;
        hasContent: never;
        id: never;
        createTime?: undefined;
        creator?: {
            id: never;
            account: never;
            nickName?: undefined;
        } | undefined;
        updateTime?: undefined;
        folderId: never;
    };
    mock: {
        enable: never;
        id?: undefined;
        relation?: {
            [x: string]: {
                content?: any;
                id?: undefined;
                name?: undefined;
                type: never;
            };
        } | undefined;
        schemas: {
            id: never;
            label: never;
            name: never;
            props: {
                [x: string]: any;
            };
            version: never;
            type: never;
            children?: any[] | undefined;
            extension: {
                extendId?: undefined;
                sort?: undefined;
                parentId?: undefined;
                mockId?: undefined;
            };
            directive?: {
                [x: string]: never[];
                tpl?: undefined;
                if?: never[] | undefined;
            } | undefined;
            childIds?: never[] | undefined;
            __parsedProps?: {
                [x: string]: any;
            } | undefined;
        }[];
        version?: undefined;
    };
} & {
    updateMockModalVisible: (open: boolean) => import("typesafe-actions").PayloadAction<"BUILDER_HEADER__UPDATE_MOCK_MODAL_VISIBLE", {
        open: boolean;
    }>;
    saveMock: (params: import("@/types/builder").MockNewParams, cb?: ((versionId?: string | undefined) => void) | undefined) => import("typesafe-actions").PayloadAction<"BUILDER_HEADER__SAVE_MOCK", {
        params: import("@/types/builder").MockNewParams;
        cb: ((versionId?: string | undefined) => void) | undefined;
    }>;
    publishMock: (params: import("@/types/builder").MockPublishParams, cb?: (() => void) | undefined) => import("typesafe-actions").PayloadAction<"BUILDER_HEADER__PUBLISH_MOCK", {
        params: import("@/types/builder").MockPublishParams;
        cb: (() => void) | undefined;
    }>;
    fetchContent: (params: import("@/types/builder").ContentFetchParams) => import("typesafe-actions").PayloadAction<"BUILDER_MAIN__FETCH_CONTENT", {
        applicationId: string;
        id: string;
        type?: import("../../../../../../../../typings").FileType | undefined;
    }>;
    updatePageEditStatus: (state: boolean) => import("typesafe-actions").PayloadAction<"BUILDER_MAIN__UPDATE_EDIT_STATUS", {
        state: boolean;
    }>;
}, "applicationId" | "contentId" | "folderId" | "mock" | "visible" | "loading" | "file" | "updateMockModalVisible" | "saveMock" | "publishMock" | "fetchContent" | "editStatus" | "updatePageEditStatus">>;
export default _default;
