import type { ActionDefinition } from "@tooee/commands"; import type { CodeBlockRenderer } from "@tooee/renderers"; import type { LinkHandler } from "./link-handlers.js"; import type { ContentProvider, ContentRenderer } from "./types.js"; export interface ViewLaunchOptions { contentProvider: ContentProvider; /** Source file for standalone local Markdown navigation; omitted for stdin. */ filePath?: string; /** Synchronous handlers tried before local file navigation. */ linkHandlers?: readonly LinkHandler[]; actions?: ActionDefinition[]; renderers?: Record; /** * Custom renderers for fenced code blocks in markdown content, keyed by * fence type (first word of the fence info string, case-insensitive). * Unmatched types fall back to the default syntax-highlighted code block. */ codeBlockRenderers?: Record; } export interface DirectoryLaunchOptions { dirPath: string; actions?: ActionDefinition[]; } export declare const launch: (options: ViewLaunchOptions) => Promise; export declare const launchDirectory: (options: DirectoryLaunchOptions) => Promise; //# sourceMappingURL=launch.d.ts.map