export interface OptionalPeerConfig {
    feature: string;
    packageName: string;
    docsUrl?: string;
    /**
     * What to install outside npm, for a peer that needs it. A native peer
     * dlopens its system library while it loads, so a missing driver surfaces
     * as a load failure rather than a resolution failure, and only the caller
     * knows which driver its package wants.
     */
    systemHint?: string;
}
export declare function loadOptionalPeer<T>(importer: () => Promise<T>, config: OptionalPeerConfig): Promise<T>;
//# sourceMappingURL=optional_peer.d.ts.map