import type { LinkedBundle, Metadata } from '@devvit/protos';
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<void>;
    setPluginList(plugins: string[]): void;
    setLocalMetadata(meta: Metadata): void;
    loadBundle(bundle: LinkedBundle): void;
    callBinary(method: string, args: Uint8Array, meta: Metadata): Promise<CallResponse>;
    call(method: string, args: unknown | Uint8Array, meta: Metadata, binary?: boolean): Promise<CallResponse>;
    onPluginResponse(id: number, result: CallResponse): void;
    quit(): void;
}
export {};
//# sourceMappingURL=UnsandboxedRuntimeLite.d.ts.map