import type { _MCBrowserViewController } from "./MCBrowserViewController.js";
import type { _MCPeerID } from "./MCPeerID.js";
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
export interface _MCBrowserViewControllerDelegate {
    /** Notifies the delegate, when the user taps the done button. */
    browserViewControllerDidFinish$?(browserViewController: _MCBrowserViewController): void;
    /** Notifies delegate that the user taps the cancel button. */
    browserViewControllerWasCancelled$?(browserViewController: _MCBrowserViewController): void;
    /**
     * Notifies delegate that a peer was found; discoveryInfo can be used to determine whether the peer should be presented to the user, and the delegate should return a YES if the peer should be presented; this method is optional, if not implemented every nearby peer will be presented to the user.
     */
    browserViewController$shouldPresentNearbyPeer$withDiscoveryInfo$?(browserViewController: _MCBrowserViewController, peerID: _MCPeerID, info: _NSDictionary | null): boolean;
}
