state() is used without importing it
The message
MARKLESS_FRAMEWORK_IMPORT_REQUIRED: `<callSource>` calls your local function `<apiName>`, but in `.tsrx` files `<apiName>` is a compiler-recognized markless API name. Rename the local function, or import the framework API from `@markless/core`.
The compiler recognizes `state`/`computed`/`element`/`shared`/`storage` by name in `.tsrx` reactive scopes so that graph ownership stays unambiguous for readers and tools.
Rename the helper (before: `function <apiName>(value) { ... }` — after: `function doubleValue(value) { ... }`), or, if graph state was intended, delete the helper and add `import { <apiName> } from '@markless/core';`.
https://markless.dev/errors/MARKLESS_FRAMEWORK_IMPORT_REQUIREDWords in angle brackets change from case to case.
Why
In a .tsrx file, Markless treats state, computed, element, shared, and storage as its own names. This call uses one of those names, but the name does not come from an import of @markless/core.
Fix
If you meant the Markless function, import it. If you wrote your own helper with that name, rename the helper.
Before
export function Profile() @{ let name = state('Ada'); <h2>{name}</h2>}After
import { state } from '@markless/core';