import { LocalSandboxProvider } from './provider/local.js';
export class SandboxProviderFactory {
    static create(config, log) {
        switch (config.provider) {
            case 'local':
                return new LocalSandboxProvider(log);
            default: {
                const _exhaustive = config.provider;
                throw new Error(`Unknown sandbox provider: ${_exhaustive}`);
            }
        }
    }
}
//# sourceMappingURL=factory.js.map