import SharedState from "./sharedState"; import { ExecutionSide } from "./constants"; export declare const syncable: (mutableOn?: ExecutionSide | undefined) => (target: T, property: keyof T) => void; export declare const syncableInRoom: (room: string, mutableOn?: ExecutionSide | undefined) => (target: T, property: keyof T) => void; export declare const syncableInRooms: (mutableOn?: ExecutionSide | undefined) => (target: T, property: keyof T) => void; /** * Emit to everyone */ export declare const sync: (executableOn?: ExecutionSide | undefined) => (target: T, property: keyof T, propertyDescriptor: PropertyDescriptor) => void; /** * Emit to members of one, specified room */ export declare const syncInRoom: (room: string) => (target: T, property: keyof T, propertyDescriptor: PropertyDescriptor) => void; /** * Emit to members of all rooms the user is in */ export declare const syncInRooms: (target: T, property: keyof T, propertyDescriptor: PropertyDescriptor) => void; export declare const shareableState: (clazz: any) => void; //# sourceMappingURL=decorators.d.ts.map