import { Slide, SlideTheme, PPTElement, PPTAnimation, SlideTemplate } from '../types/slides';
interface RemovePropData {
    id: string;
    propName: string | string[];
}
interface UpdateElementData {
    id: string | string[];
    props: Partial<PPTElement>;
    slideId?: string;
}
interface FormatedAnimation {
    animations: PPTAnimation[];
    autoNext: boolean;
}
export interface SlidesState {
    title: string;
    theme: SlideTheme;
    slides: Slide[];
    slideIndex: number;
    viewportSize: number;
    viewportRatio: number;
    templates: SlideTemplate[];
}
export declare const useSlidesStore: import('pinia').StoreDefinition<"slides", SlidesState, {
    currentSlide(state: {
        title: string;
        theme: {
            backgroundColor: string;
            themeColors: string[];
            fontColor: string;
            fontName: string;
            outline: {
                style?: import('../types/slides').LineStyleType | undefined;
                width?: number | undefined;
                color?: string | undefined;
            };
            shadow: {
                h: number;
                v: number;
                blur: number;
                color: string;
            };
        };
        slides: {
            id: string;
            elements: ({
                type: "text";
                content: string;
                defaultFontName: string;
                defaultColor: string;
                outline?: {
                    style?: import('../types/slides').LineStyleType | undefined;
                    width?: number | undefined;
                    color?: string | undefined;
                } | undefined;
                fill?: string | undefined;
                lineHeight?: number | undefined;
                wordSpace?: number | undefined;
                opacity?: number | undefined;
                shadow?: {
                    h: number;
                    v: number;
                    blur: number;
                    color: string;
                } | undefined;
                paragraphSpace?: number | undefined;
                vertical?: boolean | undefined;
                textType?: import('../types/slides').TextType | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "image";
                fixedRatio: boolean;
                src: string;
                outline?: {
                    style?: import('../types/slides').LineStyleType | undefined;
                    width?: number | undefined;
                    color?: string | undefined;
                } | undefined;
                filters?: {
                    blur?: string | undefined;
                    brightness?: string | undefined;
                    contrast?: string | undefined;
                    grayscale?: string | undefined;
                    saturate?: string | undefined;
                    'hue-rotate'?: string | undefined;
                    sepia?: string | undefined;
                    invert?: string | undefined;
                    opacity?: string | undefined;
                } | undefined;
                clip?: {
                    range: [[number, number], [number, number]];
                    shape: string;
                } | undefined;
                flipH?: boolean | undefined;
                flipV?: boolean | undefined;
                shadow?: {
                    h: number;
                    v: number;
                    blur: number;
                    color: string;
                } | undefined;
                radius?: number | undefined;
                colorMask?: string | undefined;
                imageType?: import('../types/slides').ImageType | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "shape";
                viewBox: [number, number];
                path: string;
                fixedRatio: boolean;
                fill: string;
                gradient?: {
                    type: import('../types/slides').GradientType;
                    colors: {
                        pos: number;
                        color: string;
                    }[];
                    rotate: number;
                } | undefined;
                pattern?: string | undefined;
                outline?: {
                    style?: import('../types/slides').LineStyleType | undefined;
                    width?: number | undefined;
                    color?: string | undefined;
                } | undefined;
                opacity?: number | undefined;
                flipH?: boolean | undefined;
                flipV?: boolean | undefined;
                shadow?: {
                    h: number;
                    v: number;
                    blur: number;
                    color: string;
                } | undefined;
                special?: boolean | undefined;
                text?: {
                    content: string;
                    defaultFontName: string;
                    defaultColor: string;
                    align: import('../types/slides').ShapeTextAlign;
                    lineHeight?: number | undefined;
                    wordSpace?: number | undefined;
                    paragraphSpace?: number | undefined;
                    type?: import('../types/slides').TextType | undefined;
                } | undefined;
                pathFormula?: import('../types/slides').ShapePathFormulasKeys | undefined;
                keypoints?: number[] | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "line";
                start: [number, number];
                end: [number, number];
                style: import('../types/slides').LineStyleType;
                color: string;
                points: [import('../types/slides').LinePoint, import('../types/slides').LinePoint];
                shadow?: {
                    h: number;
                    v: number;
                    blur: number;
                    color: string;
                } | undefined;
                broken?: [number, number] | undefined;
                broken2?: [number, number] | undefined;
                curve?: [number, number] | undefined;
                cubic?: [[number, number], [number, number]] | undefined;
                top: number;
                id: string;
                left: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "chart";
                fill?: string | undefined;
                chartType: import('../types/slides').ChartType;
                data: {
                    labels: string[];
                    legends: string[];
                    series: number[][];
                };
                options?: {
                    lineSmooth?: boolean | undefined;
                    stack?: boolean | undefined;
                } | undefined;
                outline?: {
                    style?: import('../types/slides').LineStyleType | undefined;
                    width?: number | undefined;
                    color?: string | undefined;
                } | undefined;
                themeColors: string[];
                textColor?: string | undefined;
                lineColor?: string | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "table";
                outline: {
                    style?: import('../types/slides').LineStyleType | undefined;
                    width?: number | undefined;
                    color?: string | undefined;
                };
                theme?: {
                    color: string;
                    rowHeader: boolean;
                    rowFooter: boolean;
                    colHeader: boolean;
                    colFooter: boolean;
                } | undefined;
                colWidths: number[];
                cellMinHeight: number;
                data: {
                    id: string;
                    colspan: number;
                    rowspan: number;
                    text: string;
                    style?: {
                        bold?: boolean | undefined;
                        em?: boolean | undefined;
                        underline?: boolean | undefined;
                        strikethrough?: boolean | undefined;
                        color?: string | undefined;
                        backcolor?: string | undefined;
                        fontsize?: string | undefined;
                        fontname?: string | undefined;
                        align?: import('../types/slides').TextAlign | undefined;
                    } | undefined;
                }[][];
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "latex";
                latex: string;
                path: string;
                color: string;
                strokeWidth: number;
                viewBox: [number, number];
                fixedRatio: boolean;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "video";
                src: string;
                autoplay: boolean;
                poster?: string | undefined;
                ext?: string | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "audio";
                fixedRatio: boolean;
                color: string;
                loop: boolean;
                autoplay: boolean;
                src: string;
                ext?: string | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            })[];
            notes?: {
                id: string;
                content: string;
                time: number;
                user: string;
                elId?: string | undefined;
                replies?: {
                    id: string;
                    content: string;
                    time: number;
                    user: string;
                }[] | undefined;
            }[] | undefined;
            remark?: string | undefined;
            background?: {
                type: import('../types/slides').SlideBackgroundType;
                color?: string | undefined;
                image?: {
                    src: string;
                    size: import('../types/slides').SlideBackgroundImageSize;
                } | undefined;
                gradient?: {
                    type: import('../types/slides').GradientType;
                    colors: {
                        pos: number;
                        color: string;
                    }[];
                    rotate: number;
                } | undefined;
            } | undefined;
            animations?: {
                id: string;
                elId: string;
                effect: string;
                type: import('../types/slides').AnimationType;
                duration: number;
                trigger: import('../types/slides').AnimationTrigger;
            }[] | undefined;
            turningMode?: import('../types/slides').TurningMode | undefined;
            sectionTag?: {
                id: string;
                title?: string | undefined;
            } | undefined;
            type?: import('../types/slides').SlideType | undefined;
        }[];
        slideIndex: number;
        viewportSize: number;
        viewportRatio: number;
        templates: {
            name: string;
            id: string;
            cover: string;
            origin?: string | undefined;
        }[];
    } & import('pinia').PiniaCustomStateProperties<SlidesState>): {
        id: string;
        elements: ({
            type: "text";
            content: string;
            defaultFontName: string;
            defaultColor: string;
            outline?: {
                style?: import('../types/slides').LineStyleType | undefined;
                width?: number | undefined;
                color?: string | undefined;
            } | undefined;
            fill?: string | undefined;
            lineHeight?: number | undefined;
            wordSpace?: number | undefined;
            opacity?: number | undefined;
            shadow?: {
                h: number;
                v: number;
                blur: number;
                color: string;
            } | undefined;
            paragraphSpace?: number | undefined;
            vertical?: boolean | undefined;
            textType?: import('../types/slides').TextType | undefined;
            id: string;
            left: number;
            top: number;
            lock?: boolean | undefined;
            groupId?: string | undefined;
            width: number;
            height: number;
            rotate: number;
            link?: {
                type: import('../types/slides').ElementLinkType;
                target: string;
            } | undefined;
            name?: string | undefined;
        } | {
            type: "image";
            fixedRatio: boolean;
            src: string;
            outline?: {
                style?: import('../types/slides').LineStyleType | undefined;
                width?: number | undefined;
                color?: string | undefined;
            } | undefined;
            filters?: {
                blur?: string | undefined;
                brightness?: string | undefined;
                contrast?: string | undefined;
                grayscale?: string | undefined;
                saturate?: string | undefined;
                'hue-rotate'?: string | undefined;
                sepia?: string | undefined;
                invert?: string | undefined;
                opacity?: string | undefined;
            } | undefined;
            clip?: {
                range: [[number, number], [number, number]];
                shape: string;
            } | undefined;
            flipH?: boolean | undefined;
            flipV?: boolean | undefined;
            shadow?: {
                h: number;
                v: number;
                blur: number;
                color: string;
            } | undefined;
            radius?: number | undefined;
            colorMask?: string | undefined;
            imageType?: import('../types/slides').ImageType | undefined;
            id: string;
            left: number;
            top: number;
            lock?: boolean | undefined;
            groupId?: string | undefined;
            width: number;
            height: number;
            rotate: number;
            link?: {
                type: import('../types/slides').ElementLinkType;
                target: string;
            } | undefined;
            name?: string | undefined;
        } | {
            type: "shape";
            viewBox: [number, number];
            path: string;
            fixedRatio: boolean;
            fill: string;
            gradient?: {
                type: import('../types/slides').GradientType;
                colors: {
                    pos: number;
                    color: string;
                }[];
                rotate: number;
            } | undefined;
            pattern?: string | undefined;
            outline?: {
                style?: import('../types/slides').LineStyleType | undefined;
                width?: number | undefined;
                color?: string | undefined;
            } | undefined;
            opacity?: number | undefined;
            flipH?: boolean | undefined;
            flipV?: boolean | undefined;
            shadow?: {
                h: number;
                v: number;
                blur: number;
                color: string;
            } | undefined;
            special?: boolean | undefined;
            text?: {
                content: string;
                defaultFontName: string;
                defaultColor: string;
                align: import('../types/slides').ShapeTextAlign;
                lineHeight?: number | undefined;
                wordSpace?: number | undefined;
                paragraphSpace?: number | undefined;
                type?: import('../types/slides').TextType | undefined;
            } | undefined;
            pathFormula?: import('../types/slides').ShapePathFormulasKeys | undefined;
            keypoints?: number[] | undefined;
            id: string;
            left: number;
            top: number;
            lock?: boolean | undefined;
            groupId?: string | undefined;
            width: number;
            height: number;
            rotate: number;
            link?: {
                type: import('../types/slides').ElementLinkType;
                target: string;
            } | undefined;
            name?: string | undefined;
        } | {
            type: "line";
            start: [number, number];
            end: [number, number];
            style: import('../types/slides').LineStyleType;
            color: string;
            points: [import('../types/slides').LinePoint, import('../types/slides').LinePoint];
            shadow?: {
                h: number;
                v: number;
                blur: number;
                color: string;
            } | undefined;
            broken?: [number, number] | undefined;
            broken2?: [number, number] | undefined;
            curve?: [number, number] | undefined;
            cubic?: [[number, number], [number, number]] | undefined;
            top: number;
            id: string;
            left: number;
            lock?: boolean | undefined;
            groupId?: string | undefined;
            width: number;
            link?: {
                type: import('../types/slides').ElementLinkType;
                target: string;
            } | undefined;
            name?: string | undefined;
        } | {
            type: "chart";
            fill?: string | undefined;
            chartType: import('../types/slides').ChartType;
            data: {
                labels: string[];
                legends: string[];
                series: number[][];
            };
            options?: {
                lineSmooth?: boolean | undefined;
                stack?: boolean | undefined;
            } | undefined;
            outline?: {
                style?: import('../types/slides').LineStyleType | undefined;
                width?: number | undefined;
                color?: string | undefined;
            } | undefined;
            themeColors: string[];
            textColor?: string | undefined;
            lineColor?: string | undefined;
            id: string;
            left: number;
            top: number;
            lock?: boolean | undefined;
            groupId?: string | undefined;
            width: number;
            height: number;
            rotate: number;
            link?: {
                type: import('../types/slides').ElementLinkType;
                target: string;
            } | undefined;
            name?: string | undefined;
        } | {
            type: "table";
            outline: {
                style?: import('../types/slides').LineStyleType | undefined;
                width?: number | undefined;
                color?: string | undefined;
            };
            theme?: {
                color: string;
                rowHeader: boolean;
                rowFooter: boolean;
                colHeader: boolean;
                colFooter: boolean;
            } | undefined;
            colWidths: number[];
            cellMinHeight: number;
            data: {
                id: string;
                colspan: number;
                rowspan: number;
                text: string;
                style?: {
                    bold?: boolean | undefined;
                    em?: boolean | undefined;
                    underline?: boolean | undefined;
                    strikethrough?: boolean | undefined;
                    color?: string | undefined;
                    backcolor?: string | undefined;
                    fontsize?: string | undefined;
                    fontname?: string | undefined;
                    align?: import('../types/slides').TextAlign | undefined;
                } | undefined;
            }[][];
            id: string;
            left: number;
            top: number;
            lock?: boolean | undefined;
            groupId?: string | undefined;
            width: number;
            height: number;
            rotate: number;
            link?: {
                type: import('../types/slides').ElementLinkType;
                target: string;
            } | undefined;
            name?: string | undefined;
        } | {
            type: "latex";
            latex: string;
            path: string;
            color: string;
            strokeWidth: number;
            viewBox: [number, number];
            fixedRatio: boolean;
            id: string;
            left: number;
            top: number;
            lock?: boolean | undefined;
            groupId?: string | undefined;
            width: number;
            height: number;
            rotate: number;
            link?: {
                type: import('../types/slides').ElementLinkType;
                target: string;
            } | undefined;
            name?: string | undefined;
        } | {
            type: "video";
            src: string;
            autoplay: boolean;
            poster?: string | undefined;
            ext?: string | undefined;
            id: string;
            left: number;
            top: number;
            lock?: boolean | undefined;
            groupId?: string | undefined;
            width: number;
            height: number;
            rotate: number;
            link?: {
                type: import('../types/slides').ElementLinkType;
                target: string;
            } | undefined;
            name?: string | undefined;
        } | {
            type: "audio";
            fixedRatio: boolean;
            color: string;
            loop: boolean;
            autoplay: boolean;
            src: string;
            ext?: string | undefined;
            id: string;
            left: number;
            top: number;
            lock?: boolean | undefined;
            groupId?: string | undefined;
            width: number;
            height: number;
            rotate: number;
            link?: {
                type: import('../types/slides').ElementLinkType;
                target: string;
            } | undefined;
            name?: string | undefined;
        })[];
        notes?: {
            id: string;
            content: string;
            time: number;
            user: string;
            elId?: string | undefined;
            replies?: {
                id: string;
                content: string;
                time: number;
                user: string;
            }[] | undefined;
        }[] | undefined;
        remark?: string | undefined;
        background?: {
            type: import('../types/slides').SlideBackgroundType;
            color?: string | undefined;
            image?: {
                src: string;
                size: import('../types/slides').SlideBackgroundImageSize;
            } | undefined;
            gradient?: {
                type: import('../types/slides').GradientType;
                colors: {
                    pos: number;
                    color: string;
                }[];
                rotate: number;
            } | undefined;
        } | undefined;
        animations?: {
            id: string;
            elId: string;
            effect: string;
            type: import('../types/slides').AnimationType;
            duration: number;
            trigger: import('../types/slides').AnimationTrigger;
        }[] | undefined;
        turningMode?: import('../types/slides').TurningMode | undefined;
        sectionTag?: {
            id: string;
            title?: string | undefined;
        } | undefined;
        type?: import('../types/slides').SlideType | undefined;
    };
    currentSlideAnimations(state: {
        title: string;
        theme: {
            backgroundColor: string;
            themeColors: string[];
            fontColor: string;
            fontName: string;
            outline: {
                style?: import('../types/slides').LineStyleType | undefined;
                width?: number | undefined;
                color?: string | undefined;
            };
            shadow: {
                h: number;
                v: number;
                blur: number;
                color: string;
            };
        };
        slides: {
            id: string;
            elements: ({
                type: "text";
                content: string;
                defaultFontName: string;
                defaultColor: string;
                outline?: {
                    style?: import('../types/slides').LineStyleType | undefined;
                    width?: number | undefined;
                    color?: string | undefined;
                } | undefined;
                fill?: string | undefined;
                lineHeight?: number | undefined;
                wordSpace?: number | undefined;
                opacity?: number | undefined;
                shadow?: {
                    h: number;
                    v: number;
                    blur: number;
                    color: string;
                } | undefined;
                paragraphSpace?: number | undefined;
                vertical?: boolean | undefined;
                textType?: import('../types/slides').TextType | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "image";
                fixedRatio: boolean;
                src: string;
                outline?: {
                    style?: import('../types/slides').LineStyleType | undefined;
                    width?: number | undefined;
                    color?: string | undefined;
                } | undefined;
                filters?: {
                    blur?: string | undefined;
                    brightness?: string | undefined;
                    contrast?: string | undefined;
                    grayscale?: string | undefined;
                    saturate?: string | undefined;
                    'hue-rotate'?: string | undefined;
                    sepia?: string | undefined;
                    invert?: string | undefined;
                    opacity?: string | undefined;
                } | undefined;
                clip?: {
                    range: [[number, number], [number, number]];
                    shape: string;
                } | undefined;
                flipH?: boolean | undefined;
                flipV?: boolean | undefined;
                shadow?: {
                    h: number;
                    v: number;
                    blur: number;
                    color: string;
                } | undefined;
                radius?: number | undefined;
                colorMask?: string | undefined;
                imageType?: import('../types/slides').ImageType | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "shape";
                viewBox: [number, number];
                path: string;
                fixedRatio: boolean;
                fill: string;
                gradient?: {
                    type: import('../types/slides').GradientType;
                    colors: {
                        pos: number;
                        color: string;
                    }[];
                    rotate: number;
                } | undefined;
                pattern?: string | undefined;
                outline?: {
                    style?: import('../types/slides').LineStyleType | undefined;
                    width?: number | undefined;
                    color?: string | undefined;
                } | undefined;
                opacity?: number | undefined;
                flipH?: boolean | undefined;
                flipV?: boolean | undefined;
                shadow?: {
                    h: number;
                    v: number;
                    blur: number;
                    color: string;
                } | undefined;
                special?: boolean | undefined;
                text?: {
                    content: string;
                    defaultFontName: string;
                    defaultColor: string;
                    align: import('../types/slides').ShapeTextAlign;
                    lineHeight?: number | undefined;
                    wordSpace?: number | undefined;
                    paragraphSpace?: number | undefined;
                    type?: import('../types/slides').TextType | undefined;
                } | undefined;
                pathFormula?: import('../types/slides').ShapePathFormulasKeys | undefined;
                keypoints?: number[] | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "line";
                start: [number, number];
                end: [number, number];
                style: import('../types/slides').LineStyleType;
                color: string;
                points: [import('../types/slides').LinePoint, import('../types/slides').LinePoint];
                shadow?: {
                    h: number;
                    v: number;
                    blur: number;
                    color: string;
                } | undefined;
                broken?: [number, number] | undefined;
                broken2?: [number, number] | undefined;
                curve?: [number, number] | undefined;
                cubic?: [[number, number], [number, number]] | undefined;
                top: number;
                id: string;
                left: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "chart";
                fill?: string | undefined;
                chartType: import('../types/slides').ChartType;
                data: {
                    labels: string[];
                    legends: string[];
                    series: number[][];
                };
                options?: {
                    lineSmooth?: boolean | undefined;
                    stack?: boolean | undefined;
                } | undefined;
                outline?: {
                    style?: import('../types/slides').LineStyleType | undefined;
                    width?: number | undefined;
                    color?: string | undefined;
                } | undefined;
                themeColors: string[];
                textColor?: string | undefined;
                lineColor?: string | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "table";
                outline: {
                    style?: import('../types/slides').LineStyleType | undefined;
                    width?: number | undefined;
                    color?: string | undefined;
                };
                theme?: {
                    color: string;
                    rowHeader: boolean;
                    rowFooter: boolean;
                    colHeader: boolean;
                    colFooter: boolean;
                } | undefined;
                colWidths: number[];
                cellMinHeight: number;
                data: {
                    id: string;
                    colspan: number;
                    rowspan: number;
                    text: string;
                    style?: {
                        bold?: boolean | undefined;
                        em?: boolean | undefined;
                        underline?: boolean | undefined;
                        strikethrough?: boolean | undefined;
                        color?: string | undefined;
                        backcolor?: string | undefined;
                        fontsize?: string | undefined;
                        fontname?: string | undefined;
                        align?: import('../types/slides').TextAlign | undefined;
                    } | undefined;
                }[][];
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "latex";
                latex: string;
                path: string;
                color: string;
                strokeWidth: number;
                viewBox: [number, number];
                fixedRatio: boolean;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "video";
                src: string;
                autoplay: boolean;
                poster?: string | undefined;
                ext?: string | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "audio";
                fixedRatio: boolean;
                color: string;
                loop: boolean;
                autoplay: boolean;
                src: string;
                ext?: string | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            })[];
            notes?: {
                id: string;
                content: string;
                time: number;
                user: string;
                elId?: string | undefined;
                replies?: {
                    id: string;
                    content: string;
                    time: number;
                    user: string;
                }[] | undefined;
            }[] | undefined;
            remark?: string | undefined;
            background?: {
                type: import('../types/slides').SlideBackgroundType;
                color?: string | undefined;
                image?: {
                    src: string;
                    size: import('../types/slides').SlideBackgroundImageSize;
                } | undefined;
                gradient?: {
                    type: import('../types/slides').GradientType;
                    colors: {
                        pos: number;
                        color: string;
                    }[];
                    rotate: number;
                } | undefined;
            } | undefined;
            animations?: {
                id: string;
                elId: string;
                effect: string;
                type: import('../types/slides').AnimationType;
                duration: number;
                trigger: import('../types/slides').AnimationTrigger;
            }[] | undefined;
            turningMode?: import('../types/slides').TurningMode | undefined;
            sectionTag?: {
                id: string;
                title?: string | undefined;
            } | undefined;
            type?: import('../types/slides').SlideType | undefined;
        }[];
        slideIndex: number;
        viewportSize: number;
        viewportRatio: number;
        templates: {
            name: string;
            id: string;
            cover: string;
            origin?: string | undefined;
        }[];
    } & import('pinia').PiniaCustomStateProperties<SlidesState>): {
        id: string;
        elId: string;
        effect: string;
        type: import('../types/slides').AnimationType;
        duration: number;
        trigger: import('../types/slides').AnimationTrigger;
    }[];
    formatedAnimations(state: {
        title: string;
        theme: {
            backgroundColor: string;
            themeColors: string[];
            fontColor: string;
            fontName: string;
            outline: {
                style?: import('../types/slides').LineStyleType | undefined;
                width?: number | undefined;
                color?: string | undefined;
            };
            shadow: {
                h: number;
                v: number;
                blur: number;
                color: string;
            };
        };
        slides: {
            id: string;
            elements: ({
                type: "text";
                content: string;
                defaultFontName: string;
                defaultColor: string;
                outline?: {
                    style?: import('../types/slides').LineStyleType | undefined;
                    width?: number | undefined;
                    color?: string | undefined;
                } | undefined;
                fill?: string | undefined;
                lineHeight?: number | undefined;
                wordSpace?: number | undefined;
                opacity?: number | undefined;
                shadow?: {
                    h: number;
                    v: number;
                    blur: number;
                    color: string;
                } | undefined;
                paragraphSpace?: number | undefined;
                vertical?: boolean | undefined;
                textType?: import('../types/slides').TextType | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "image";
                fixedRatio: boolean;
                src: string;
                outline?: {
                    style?: import('../types/slides').LineStyleType | undefined;
                    width?: number | undefined;
                    color?: string | undefined;
                } | undefined;
                filters?: {
                    blur?: string | undefined;
                    brightness?: string | undefined;
                    contrast?: string | undefined;
                    grayscale?: string | undefined;
                    saturate?: string | undefined;
                    'hue-rotate'?: string | undefined;
                    sepia?: string | undefined;
                    invert?: string | undefined;
                    opacity?: string | undefined;
                } | undefined;
                clip?: {
                    range: [[number, number], [number, number]];
                    shape: string;
                } | undefined;
                flipH?: boolean | undefined;
                flipV?: boolean | undefined;
                shadow?: {
                    h: number;
                    v: number;
                    blur: number;
                    color: string;
                } | undefined;
                radius?: number | undefined;
                colorMask?: string | undefined;
                imageType?: import('../types/slides').ImageType | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "shape";
                viewBox: [number, number];
                path: string;
                fixedRatio: boolean;
                fill: string;
                gradient?: {
                    type: import('../types/slides').GradientType;
                    colors: {
                        pos: number;
                        color: string;
                    }[];
                    rotate: number;
                } | undefined;
                pattern?: string | undefined;
                outline?: {
                    style?: import('../types/slides').LineStyleType | undefined;
                    width?: number | undefined;
                    color?: string | undefined;
                } | undefined;
                opacity?: number | undefined;
                flipH?: boolean | undefined;
                flipV?: boolean | undefined;
                shadow?: {
                    h: number;
                    v: number;
                    blur: number;
                    color: string;
                } | undefined;
                special?: boolean | undefined;
                text?: {
                    content: string;
                    defaultFontName: string;
                    defaultColor: string;
                    align: import('../types/slides').ShapeTextAlign;
                    lineHeight?: number | undefined;
                    wordSpace?: number | undefined;
                    paragraphSpace?: number | undefined;
                    type?: import('../types/slides').TextType | undefined;
                } | undefined;
                pathFormula?: import('../types/slides').ShapePathFormulasKeys | undefined;
                keypoints?: number[] | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "line";
                start: [number, number];
                end: [number, number];
                style: import('../types/slides').LineStyleType;
                color: string;
                points: [import('../types/slides').LinePoint, import('../types/slides').LinePoint];
                shadow?: {
                    h: number;
                    v: number;
                    blur: number;
                    color: string;
                } | undefined;
                broken?: [number, number] | undefined;
                broken2?: [number, number] | undefined;
                curve?: [number, number] | undefined;
                cubic?: [[number, number], [number, number]] | undefined;
                top: number;
                id: string;
                left: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "chart";
                fill?: string | undefined;
                chartType: import('../types/slides').ChartType;
                data: {
                    labels: string[];
                    legends: string[];
                    series: number[][];
                };
                options?: {
                    lineSmooth?: boolean | undefined;
                    stack?: boolean | undefined;
                } | undefined;
                outline?: {
                    style?: import('../types/slides').LineStyleType | undefined;
                    width?: number | undefined;
                    color?: string | undefined;
                } | undefined;
                themeColors: string[];
                textColor?: string | undefined;
                lineColor?: string | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "table";
                outline: {
                    style?: import('../types/slides').LineStyleType | undefined;
                    width?: number | undefined;
                    color?: string | undefined;
                };
                theme?: {
                    color: string;
                    rowHeader: boolean;
                    rowFooter: boolean;
                    colHeader: boolean;
                    colFooter: boolean;
                } | undefined;
                colWidths: number[];
                cellMinHeight: number;
                data: {
                    id: string;
                    colspan: number;
                    rowspan: number;
                    text: string;
                    style?: {
                        bold?: boolean | undefined;
                        em?: boolean | undefined;
                        underline?: boolean | undefined;
                        strikethrough?: boolean | undefined;
                        color?: string | undefined;
                        backcolor?: string | undefined;
                        fontsize?: string | undefined;
                        fontname?: string | undefined;
                        align?: import('../types/slides').TextAlign | undefined;
                    } | undefined;
                }[][];
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "latex";
                latex: string;
                path: string;
                color: string;
                strokeWidth: number;
                viewBox: [number, number];
                fixedRatio: boolean;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "video";
                src: string;
                autoplay: boolean;
                poster?: string | undefined;
                ext?: string | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            } | {
                type: "audio";
                fixedRatio: boolean;
                color: string;
                loop: boolean;
                autoplay: boolean;
                src: string;
                ext?: string | undefined;
                id: string;
                left: number;
                top: number;
                lock?: boolean | undefined;
                groupId?: string | undefined;
                width: number;
                height: number;
                rotate: number;
                link?: {
                    type: import('../types/slides').ElementLinkType;
                    target: string;
                } | undefined;
                name?: string | undefined;
            })[];
            notes?: {
                id: string;
                content: string;
                time: number;
                user: string;
                elId?: string | undefined;
                replies?: {
                    id: string;
                    content: string;
                    time: number;
                    user: string;
                }[] | undefined;
            }[] | undefined;
            remark?: string | undefined;
            background?: {
                type: import('../types/slides').SlideBackgroundType;
                color?: string | undefined;
                image?: {
                    src: string;
                    size: import('../types/slides').SlideBackgroundImageSize;
                } | undefined;
                gradient?: {
                    type: import('../types/slides').GradientType;
                    colors: {
                        pos: number;
                        color: string;
                    }[];
                    rotate: number;
                } | undefined;
            } | undefined;
            animations?: {
                id: string;
                elId: string;
                effect: string;
                type: import('../types/slides').AnimationType;
                duration: number;
                trigger: import('../types/slides').AnimationTrigger;
            }[] | undefined;
            turningMode?: import('../types/slides').TurningMode | undefined;
            sectionTag?: {
                id: string;
                title?: string | undefined;
            } | undefined;
            type?: import('../types/slides').SlideType | undefined;
        }[];
        slideIndex: number;
        viewportSize: number;
        viewportRatio: number;
        templates: {
            name: string;
            id: string;
            cover: string;
            origin?: string | undefined;
        }[];
    } & import('pinia').PiniaCustomStateProperties<SlidesState>): FormatedAnimation[];
}, {
    setTitle(title: string): void;
    setTheme(themeProps: Partial<SlideTheme>): void;
    setViewportSize(size: number): void;
    setViewportRatio(viewportRatio: number): void;
    setSlides(slides: Slide[], themeProps?: Partial<SlideTheme>): void;
    setTemplates(templates: SlideTemplate[]): void;
    addSlide(slide: Slide | Slide[]): void;
    updateSlide(props: Partial<Slide>, slideId?: string): void;
    removeSlideProps(data: RemovePropData): void;
    deleteSlide(slideId: string | string[]): void;
    updateSlideIndex(index: number): void;
    addElement(element: PPTElement | PPTElement[]): void;
    deleteElement(elementId: string | string[]): void;
    updateElement(data: UpdateElementData): void;
    removeElementProps(data: RemovePropData): void;
}>;
export {};
