import type { Metadata } from '@devvit/protos/lib/Types.js'; import type { LinkedBundle } from '@devvit/protos/types/devvit/runtime/bundle.js'; import type { CallResponse, CallState, RuntimeLite } from './RuntimeLite.js'; type ExceptionHandler = { handleException(sourceMap: string, error: unknown): void; }; export declare class UnsandboxedRuntimeLite implements RuntimeLite { #private; /** * @arg modules Environment dependencies available via `require(id)` to * bundles loaded. @devvit/protos is provided by default. */ constructor(modules?: { [id: string]: unknown; }, exceptionHandler?: ExceptionHandler); enableAppLogging(): void; getCallState(): CallState; init(): Promise; setPluginList(plugins: string[]): void; setLocalMetadata(meta: Metadata): void; loadBundle(bundle: LinkedBundle): void; callBinary(method: string, args: Uint8Array, meta: Metadata): Promise; call(method: string, args: unknown | Uint8Array, meta: Metadata, binary?: boolean): Promise; onPluginResponse(id: number, result: CallResponse): void; quit(): void; } export {}; //# sourceMappingURL=UnsandboxedRuntimeLite.d.ts.map