export declare function getOptionalDep(moduleName: string): T; /** * Use individual loaders for optional dependencies. * Hard coding the dep is the way to ensure it's statically analyzable by bundlers. * Ensure a require and import are both attempted to support both CJS and ESM environments (browser, node, hermes, etc). * TODO: confirm this works in all possible cjs/esm environments */ export declare function tryPreloadingOptionalDeps(): Promise;