getReadonlyInputContext = () => {
	if (!getAllContexts().has(InputStoreKey)) {
		console.warn('InputStoreKey not found in context. Did you forget to call ensureInputContext?');
		return readable({});
	}

	const value = getContext(InputStoreKey);
	if (isReadable(value)) {
		return readonly(value);
	} else {
		throw new Error(`InputStoreKey is not a readable store: ${value}`);
	}
}
@returns {import("svelte/store").Readable<any>}