import type { NobjcObject } from "objc-js";
import type { _NSArray } from "./NSArray.js";
import type { _NSConnection } from "./NSConnection.js";
import type { _NSData } from "./NSData.js";
import type { _NSDistantObjectRequest } from "./NSDistantObjectRequest.js";
export interface _NSConnectionDelegate {
    /**
     * Use the NSConnectionDidInitializeNotification notification instead of this delegate method if possible.
     */
    makeNewConnection$sender$?(conn: _NSConnection, ancestor: _NSConnection): boolean;
    /**
     * Use the NSConnectionDidInitializeNotification notification instead of this delegate method if possible.
     */
    connection$shouldMakeNewConnection$?(ancestor: _NSConnection, conn: _NSConnection): boolean;
    authenticationDataForComponents$?(components: _NSArray): _NSData;
    authenticateComponents$withData$?(components: _NSArray, signature: _NSData): boolean;
    createConversationForConnection$?(conn: _NSConnection): NobjcObject;
    /** @deprecated Use NSXPCConnection instead */
    connection$handleRequest$?(connection: _NSConnection, doreq: _NSDistantObjectRequest): boolean;
}
