let bindings;
let loadError;
export function setEvmNativeBindings(next) {
    bindings = next;
    loadError = undefined;
}
export function setEvmNativeLoadError(error) {
    bindings = undefined;
    loadError = error;
}
export function getEvmNativeBindings() {
    return bindings;
}
export function getEvmNativeLoadError() {
    return loadError;
}
export function isEvmNativeAvailable() {
    return Boolean(bindings?.NativeBlocksQueue && bindings?.NativeEvmMempoolState);
}
