import type { WireMiniAppHost } from '@farcaster/miniapp-core'; import type { Remote } from 'comlink'; import type { Emitter } from './types.ts'; export type Back = { visible: boolean; show: () => Promise; hide: () => Promise; onback: (() => unknown) | null; enableWebNavigation: () => Promise; disableWebNavigation: () => Promise; }; export declare const createBack: (options: { emitter: Emitter; miniAppHost: Remote; }) => Back;