UNPKG

@hpcc-js/observablehq-compiler

Version:
19 lines (18 loc) 832 B
import { type Notebook } from "./kit/index.ts"; import type { ohq } from "./observable-shim.ts"; interface ParsedOJS { ojs: string; offset: number; inlineMD: boolean; cell: any; error: any; } export declare function encodeBacktick(str: string): string; export declare function notebook2ojs(_: string): ParsedOJS[]; export declare function ojs2notebook(ojs: string): ohq.Notebook; export declare function ojs2notebookKit(ojs: string): Notebook; export declare function omd2notebook(omd: string): ohq.Notebook; export declare function omd2notebookKit(omd: string): Notebook; export declare function fetchEx(url: string, proxyPrefix?: string, proxyPostfix?: string): Promise<Response>; export declare function download(impUrl: string, proxyPrefix?: string, proxyPostfix?: string): Promise<ohq.Notebook>; export {};