import { type Context, defineService, type ReplicatedState } from "@earendil-works/chord"; export interface KeyedProbe { readonly state: ReplicatedState<{ value: string }>; replace(value: string, context: Context): Promise; wait(context: Context): Promise; } export const KeyedProbe = defineService("test.keyed-probe");