
// 这种

// UserRpc的命名空间自动合并
import { FrontendSession, RemoterClass } from 'pinus';
import { ChatRemote } from './chat/remote/chatRemote';
import { ComBattleRemote } from './battle/remote/comBattleRemote';
import { BattleRemote } from './battle/remote/battleRemote';
import { ConnectorRemote } from './connector/remote/connectorRemote';
import { SystimerRemote } from './systimer/remote/systimerRemote';
import { GMRemote } from './gm/remote/gmRemote';
import { RoleRemote } from './role/remote/roleRemote';
import { GuildActivityRemote } from './guild/remote/guildActivityRemote';
import { GuildRemote as GuildRemote2 } from './guild/remote/guildRemote';
import { ActivityRemote } from './activity/remote/activityRemote';
import { OrderRemote } from './order/remote/orderRemote';
declare global {
    interface UserRpc {
        activity: {
            activityRemote: RemoterClass<FrontendSession, ActivityRemote>;
        };
        battle: {
            comBattleRemote: RemoterClass<FrontendSession, ComBattleRemote>;
            battleRemote: RemoterClass<FrontendSession, BattleRemote>;
        };
        chat: {
            chatRemote: RemoterClass<FrontendSession, ChatRemote>;
        };
        connector: {
            connectorRemote: RemoterClass<FrontendSession, ConnectorRemote>;
        };
        guild: {
            guildRemote: RemoterClass<FrontendSession, GuildRemote2>;
            guildActivityRemote: RemoterClass<FrontendSession, GuildActivityRemote>;
        },
        systimer: {
            systimerRemote: RemoterClass<FrontendSession, SystimerRemote>;
        },
        gm: {
            gmRemote: RemoterClass<FrontendSession, GMRemote>;
        },
        role: {
            roleRemote: RemoterClass<FrontendSession, RoleRemote>;
        },
        order: {
            orderRemote: RemoterClass<FrontendSession, OrderRemote>;
        }
    }
}