import type { Module } from "@observablehq/runtime"; import { Runtime } from "@observablehq/runtime"; import type { DefineState, Definition } from "./define.js"; import type { observe } from "./display.js"; import { fileAttachments } from "./stdlib/fileAttachment.js"; export type { DefineState, Definition } from "./define.js"; export * from "./display.js"; export * from "./inspect.js"; export * from "./stdlib/index.js"; export type * from "./stdlib/databaseClient.js"; export { DatabaseClient } from "./stdlib/databaseClient.js"; export type * from "./stdlib/fileAttachment.js"; export { FileAttachment, requireFileRegistration, registerFile } from "./stdlib/fileAttachment.js"; export type * from "./stdlib/interpreter.js"; export { Interpreter } from "./stdlib/interpreter.js"; export declare class NotebookRuntime { readonly runtime: Runtime & { fileAttachments: typeof fileAttachments; }; readonly main: Module; constructor(builtins?: Record unknown>); define(state: DefineState, definition: Definition, observer?: typeof observe): void; } export declare const runtime: Runtime & { fileAttachments: typeof fileAttachments; }; export declare const main: Module; export declare const define: (state: DefineState, definition: Definition, observer?: typeof observe) => void;