import * as api from './api'; export declare namespace sqlframes { export type DataFrame = api.DataFrame; const DataFrame: typeof api.DataFrame; export type SQL = api.SQL; const SQL: typeof api.SQL; export type Time = api.Time; const Time: typeof api.Time; export class View { static render(dom: HTMLElement,value: any,options?: Record): void; static configurable(v: T,config: Record): api.Configurable; static nv(name: string,value: T): api.NameValue; } enum LogLevel { Debug = 1, Info = 2, Warn = 3, Error = 4 } export class Console { static LogLevel: typeof LogLevel; static LEVEL: LogLevel; } } export type ScopeType = { DataFrame: typeof sqlframes.DataFrame, SQL: typeof sqlframes.SQL, Time: typeof sqlframes.Time } export declare namespace repl { export class ObjectContext { readonly self: Record; } export class REPL { scope: Record; readOnly: boolean; scratch: ObjectContext; readonly script: string; setScript(script: string); eval(): void; static DefaultScope: Record; } export class REPLView extends sqlframes.View { static addExtraLibs(url: string,filename: string): Promise; static getWidgets(): api.Widgets; } }