import { BaseComponentClient } from './baseComponentClient'; import { GameRoomClient } from './gameRoomClient'; import { StandardGameAction } from '../shared/standardActions'; import { IDisposableClient } from './interface'; type InferAction = T extends BaseComponentClient ? Action : never; export declare function useAfterAction>(client: T, listener: (action: InferAction | StandardGameAction) => void, deps?: any[]): void; export declare function useClient(type: { new (client: GameRoomClient): T; }, baseClient: GameRoomClient): T; export {};