import type { _MCNearbyServiceAdvertiser } from "./MCNearbyServiceAdvertiser.js";
import type { _MCPeerID } from "./MCPeerID.js";
import type { _MCSession } from "./MCSession.js";
import type { _NSData } from "../Foundation/NSData.js";
import type { _NSError } from "../Foundation/NSError.js";
export interface _MCNearbyServiceAdvertiserDelegate {
    /**
     * Incoming invitation request. Call the invitationHandler block with YES and a valid session to connect the inviting peer to the session.
     */
    advertiser$didReceiveInvitationFromPeer$withContext$invitationHandler$?(advertiser: _MCNearbyServiceAdvertiser, peerID: _MCPeerID, context: _NSData | null, invitationHandler: ((accept: boolean, session: _MCSession) => void) | null): void;
    /** Advertising did not start due to an error. */
    advertiser$didNotStartAdvertisingPeer$?(advertiser: _MCNearbyServiceAdvertiser, error: _NSError): void;
}
