import { t as Options } from "./type-DqADpMM3.cjs"; //#region src/core/inspector.d.ts declare function createInspector(root?: string): { state: import("devframe/utils/shared-state").SharedState; definition: import("devframe").DevframeDefinition; addExpression(filePath: string, expression: ExpressionMeta): void; invalidate(filePath: string): void; clear(): void; }; type Inspector = ReturnType; //#endregion //#region src/types.d.ts interface GenContext { options: Options; filePaths?: Map; inspector?: Inspector; root?: string; originalLine: number; originalColumn: number; argsName: string; argType: string; id: string; consoleMethod: string; } type Compiler = 'vanilla' | 'vue' | 'svelte'; interface Context { code: string; id: string; options: Options; filePaths?: Map; inspector?: Inspector; root?: string; } type Lang = 'js' | 'jsx' | 'ts' | 'tsx' | undefined; interface CompileResult { script: string; lang: Lang; offset: number; line: number; } type TCMethod = 'log' | 'error' | 'warn' | 'info' | 'table' | 'dir'; type TConsole = Record void>; interface ExpressionMeta { code: string; method: string; line: number; column: number; } interface ExpressionsMap { id: string; filePath: string; expressions: ExpressionMeta[]; } interface InspectorState { timestamp: number; version: string; expressionsMap: Record; } declare module 'devframe' { interface DevframeRpcServerFunctions { 'anonymous:turbo-console:subscribe-logs': (token: string) => void; 'anonymous:turbo-console:log': (token: string, target: 'client' | 'server', method: TCMethod, message: string) => Promise; 'turbo-console:resolve-file': (id: string) => string; } interface DevframeRpcClientFunctions { 'turbo-console:log': (method: TCMethod, message: string) => void; } interface DevframeRpcSharedStates { 'turbo-console:expressions': InspectorState; } } //#endregion export { ExpressionsMap as a, Lang as c, ExpressionMeta as i, TCMethod as l, Compiler as n, GenContext as o, Context as r, InspectorState as s, CompileResult as t, TConsole as u };