import type { ConnectionMessage } from 'connection/message.js'; import type { Context, ServerContext } from './types.js'; export declare const messageSummary: (message: ConnectionMessage) => string; export declare const stateSummary: (state: any) => string; /** * A server is conceptually kind of a user and kind of a device. This little hack lets us avoid * creating special logic for servers all over the place. */ export declare const extendServerContext: (context: ServerContext) => { user: { userId: string; userName: string; keys: import("@localfirst/crdx").KeysetWithSecrets; }; device: { userId: string; deviceId: string; deviceName: string; keys: import("@localfirst/crdx").KeysetWithSecrets; }; server: import("../index.js").ServerWithSecrets; team: import("../index.js").Team; }; export declare const getUserName: (context: Context) => string; //# sourceMappingURL=helpers.d.ts.map