• Returns {
        config: AdvConfig;
        core: {
            handleAdvNode: ((node) => Promise<undefined | true>);
            handleCode: ((node) => Promise<undefined | true>);
            read: ((text) => Promise<void>);
            loadAst(ast): void;
        };
        functions: {};
        nav: {
            go: ((target) => void);
            next: (() => Promise<void>);
        };
        store: Store<"adv", _UnwrapAll<Pick<{
            ast: ShallowRef<Root>;
            cur: Ref<{
                background: string;
                dialog: {
                    character: {
                        name: string;
                        status?: string;
                        type: "character";
                    };
                    children: ({
                        type: "text";
                        value: string;
                    } | {
                        type: "link";
                        value: string;
                    })[];
                    type: "dialog";
                };
                order: number;
                tachies: Map<string, {
                    status: string;
                }> & Omit<Map<string, {
                    status: string;
                }>, keyof Map<any, any>>;
            }>;
            curNode: ComputedRef<undefined | Item>;
            status: {
                isEnd: ComputedRef<boolean>;
            };
        }, "status" | "ast" | "cur">>, Pick<{
            ast: ShallowRef<Root>;
            cur: Ref<{
                background: string;
                dialog: {
                    character: {
                        name: string;
                        status?: string;
                        type: "character";
                    };
                    children: ({
                        type: "text";
                        value: string;
                    } | {
                        type: "link";
                        value: string;
                    })[];
                    type: "dialog";
                };
                order: number;
                tachies: Map<string, {
                    status: string;
                }> & Omit<Map<string, {
                    status: string;
                }>, keyof Map<any, any>>;
            }>;
            curNode: ComputedRef<undefined | Item>;
            status: {
                isEnd: ComputedRef<boolean>;
            };
        }, "curNode">, Pick<{
            ast: ShallowRef<Root>;
            cur: Ref<{
                background: string;
                dialog: {
                    character: {
                        name: string;
                        status?: string;
                        type: "character";
                    };
                    children: ({
                        type: "text";
                        value: string;
                    } | {
                        type: "link";
                        value: string;
                    })[];
                    type: "dialog";
                };
                order: number;
                tachies: Map<string, {
                    status: string;
                }> & Omit<Map<string, {
                    status: string;
                }>, keyof Map<any, any>>;
            }>;
            curNode: ComputedRef<undefined | Item>;
            status: {
                isEnd: ComputedRef<boolean>;
            };
        }, never>>;
        tachies: {
            enter: ((name, status?) => void);
            exit: ((name) => void);
            handle: ((node) => boolean);
            update: ((curNode) => void);
        };
        themeConfig: ComputedRef<any>;
        onMounted(): void;
    }

    • config: AdvConfig
    • core: {
          handleAdvNode: ((node) => Promise<undefined | true>);
          handleCode: ((node) => Promise<undefined | true>);
          read: ((text) => Promise<void>);
          loadAst(ast): void;
      }
      • handleAdvNode: ((node) => Promise<undefined | true>)
          • (node): Promise<undefined | true>
          • handle adv ast

            Parameters

            Returns Promise<undefined | true>

      • handleCode: ((node) => Promise<undefined | true>)
          • (node): Promise<undefined | true>
          • handle code block

            Parameters

            Returns Promise<undefined | true>

      • read: ((text) => Promise<void>)
          • (text): Promise<void>
          • 理解文本

            Parameters

            • text: string

            Returns Promise<void>

      • loadAst:function
    • functions: {}
      • nav: {
            go: ((target) => void);
            next: (() => Promise<void>);
        }
        • go: ((target) => void)
            • (target): void
            • go to scene

              Parameters

              • target: string

              Returns void

        • next: (() => Promise<void>)
            • (): Promise<void>
            • 下一部分

              Returns Promise<void>

      • store: Store<"adv", _UnwrapAll<Pick<{
            ast: ShallowRef<Root>;
            cur: Ref<{
                background: string;
                dialog: {
                    character: {
                        name: string;
                        status?: string;
                        type: "character";
                    };
                    children: ({
                        type: "text";
                        value: string;
                    } | {
                        type: "link";
                        value: string;
                    })[];
                    type: "dialog";
                };
                order: number;
                tachies: Map<string, {
                    status: string;
                }> & Omit<Map<string, {
                    status: string;
                }>, keyof Map<any, any>>;
            }>;
            curNode: ComputedRef<undefined | Item>;
            status: {
                isEnd: ComputedRef<boolean>;
            };
        }, "status" | "ast" | "cur">>, Pick<{
            ast: ShallowRef<Root>;
            cur: Ref<{
                background: string;
                dialog: {
                    character: {
                        name: string;
                        status?: string;
                        type: "character";
                    };
                    children: ({
                        type: "text";
                        value: string;
                    } | {
                        type: "link";
                        value: string;
                    })[];
                    type: "dialog";
                };
                order: number;
                tachies: Map<string, {
                    status: string;
                }> & Omit<Map<string, {
                    status: string;
                }>, keyof Map<any, any>>;
            }>;
            curNode: ComputedRef<undefined | Item>;
            status: {
                isEnd: ComputedRef<boolean>;
            };
        }, "curNode">, Pick<{
            ast: ShallowRef<Root>;
            cur: Ref<{
                background: string;
                dialog: {
                    character: {
                        name: string;
                        status?: string;
                        type: "character";
                    };
                    children: ({
                        type: "text";
                        value: string;
                    } | {
                        type: "link";
                        value: string;
                    })[];
                    type: "dialog";
                };
                order: number;
                tachies: Map<string, {
                    status: string;
                }> & Omit<Map<string, {
                    status: string;
                }>, keyof Map<any, any>>;
            }>;
            curNode: ComputedRef<undefined | Item>;
            status: {
                isEnd: ComputedRef<boolean>;
            };
        }, never>>
      • tachies: {
            enter: ((name, status?) => void);
            exit: ((name) => void);
            handle: ((node) => boolean);
            update: ((curNode) => void);
        }
        • enter: ((name, status?) => void)
            • (name, status?): void
            • Parameters

              • name: string
              • status: string = 'default'

              Returns void

        • exit: ((name) => void)
            • (name): void
            • Parameters

              • name: string

              Returns void

        • handle: ((node) => boolean)
        • update: ((curNode) => void)
            • (curNode): void
            • Parameters

              Returns void

      • themeConfig: ComputedRef<any>
      • onMounted:function

    Generated using TypeDoc