export { clear_fonts as clearFonts, configure_automatic_cache_eviction as configureAutomaticCacheEviction, evict_cache as evictCache, register_fonts as registerFonts, set_log_level as setLogLevel, } from '../wasm/oicana_browser_wasm.js'; export * from './BlobInput.js'; export * from './CompilationMode.js'; export * from './CompiledDocument.js'; export type { Diagnostic, DiagnosticSeverity, SourceLocation, TracePoint, } from './Diagnostic.js'; export * from './ExportFormat.js'; export * from './ExportOnceResult.js'; export * from './PageRange.js'; export * from './Template.js'; export * from './TemplateManifest.js'; export * from './ZipLimits.js'; /** Color mode for compilation diagnostics. */ export type DiagnosticColor = 'none' | 'ansi'; /** * Configure the coloring of compilation diagnostics like warnings and errors. */ export declare function configureDiagnosticColor(color: DiagnosticColor): void; /** A font face made available to templates by the host. */ export interface RegisteredFont { /** The family name, as used in Typst's `text(font: ...)`. */ family: string; /** * The file the face was read from. Always absent in the browser, where fonts * can only be registered from memory. */ path?: string; } /** * All font faces currently registered with `registerFonts`. */ export declare function registeredFonts(): RegisteredFont[]; /** * Initializes the WASM module from the given URL * @param wasmPath URL from which to load the WASM module. Defaults to the WASM * file shipped in this package. */ export declare function initialize(wasmPath?: string): Promise;