import type { Resources } from '../resources/Resources.ts';
import { type Server } from '../server/Server.ts';
export declare class MissingDefaultFilesOptionError extends Error {
    constructor();
}
/**
 * This class is used to represent the application scope for the VM context used for loading modules within an application
 */
export declare class ApplicationScope {
    logger: any;
    resources: Resources;
    server: Server;
    mode?: 'native' | 'vm' | 'vm-current-context' | 'compartment';
    dependencyLoader?: 'native' | 'app' | 'auto';
    allowedPath?: string;
    config: any;
    moduleCache: any;
    constructor(name: string, resources: Resources, server: Server, isInternal?: boolean);
    /**
     * The compartment that is used for this scope and any imports that it makes
     */
    compartment?: Promise<any>;
    /**
     * Import a file into the scope's sandbox.
     * @param filePath - The path of the file to import.
     * @returns A promise that resolves with the imported module or value.
     */
    import(filePath: string): Promise<unknown>;
}
