44import { MappedString } from "./lib/text-types.ts" ;
55import { Format , Metadata , FormatPandoc } from "../config/types.ts" ;
66import { PartitionedMarkdown } from "./pandoc/types.ts" ;
7- import type { ProjectContext } from "../project/types.ts" ;
7+ import type { EngineProjectContext } from "../project/types.ts" ;
88import type {
99 JupyterNotebook ,
1010 JupyterToMarkdownOptions ,
@@ -144,7 +144,7 @@ export interface QuartoAPI {
144144 isJupyterNotebook : ( file : string ) => boolean ;
145145 isPercentScript : ( file : string , extensions ?: string [ ] ) => boolean ;
146146 notebookExtensions : string [ ] ;
147- kernelspecFromMarkdown : ( markdown : string , project ?: ProjectContext ) => Promise < [ JupyterKernelspec , Metadata ] > ;
147+ kernelspecFromMarkdown : ( markdown : string , project ?: EngineProjectContext ) => Promise < [ JupyterKernelspec , Metadata ] > ;
148148 fromJSON : ( nbJson : string ) => JupyterNotebook ;
149149
150150 // 2. Notebook Conversion
@@ -155,7 +155,7 @@ export interface QuartoAPI {
155155 markdownFromNotebookFile : ( file : string , format ?: Format ) => Promise < string > ;
156156 markdownFromNotebookJSON : ( nb : JupyterNotebook ) => string ;
157157 percentScriptToMarkdown : ( file : string ) => string ;
158- quartoMdToJupyter : ( markdown : string , includeIds : boolean , project ?: ProjectContext ) => Promise < JupyterNotebook > ;
158+ quartoMdToJupyter : ( markdown : string , includeIds : boolean , project ?: EngineProjectContext ) => Promise < JupyterNotebook > ;
159159
160160 // 3. Notebook Processing & Assets
161161 notebookFiltered : ( input : string , filters : string [ ] ) => Promise < string > ;
0 commit comments