import { type Env, type Schema } from 'hono'; import { FarcBase, type FrameHandlerReturnType, type FrameOptions } from './farc-base.js'; import { type FrameContext } from './types.js'; /** * A Farc instance. * * @param parameters - {@link FarcConstructorParameters} * @returns instance. {@link FarcBase} * * @example * ``` * import { Farc } from 'farc' * * const app = new Farc() * * app.frame('/', (context) => { * const { buttonValue, inputText, status } = context * const fruit = inputText || buttonValue * return { * image: ( *