import type { NobjcObject } from "objc-js";
import type { _SFCertificatePanel } from "./SFCertificatePanel.js";
import type { _NSString } from "../Foundation/NSString.js";
import type { _NSWindow } from "../AppKit/NSWindow.js";
export declare class _SFCertificateTrustPanel extends _SFCertificatePanel {
    static alloc(): _SFCertificateTrustPanel;
    static new(): _SFCertificateTrustPanel;
    init(): _SFCertificateTrustPanel;
    /**
     * @method sharedCertificateTrustPanel @abstract Returns a shared instance of SFCertificateTrustPanel. @discussion If your application can display multiple SFCertificateTrustPanels at once, you should allocate (alloc) and initialize (init) separate object instances instead of using this class method.
     */
    static sharedCertificateTrustPanel(): _SFCertificateTrustPanel;
    /**
     * @method runModalForTrust:message: @abstract Displays a modal panel that shows the results of a certificate trust evaluation. Returns NSOKButton if the default button is pressed, or NSCancelButton if the alternate button is pressed. Note that the user can edit trust decisions in this panel; call SecTrustGetResult after the panel is dismissed to obtain the current trust result for the SecTrustRef. @param trust A trust reference, previously created with SecTrustCreateWithCertificates (see <Security/SecTrust.h>). @param message Client-defined message string to display in the panel.
     */
    runModalForTrust$message$(trust: Uint8Array, message: _NSString): number;
    /**
     * @method beginSheetForWindow:trust:message:modalDelegate:didEndSelector:contextInfo: @abstract Displays a modal sheet that shows the results of a certificate trust evaluation. @discussion The didEndSelector method should have the following signature: - (void)certificateTrustSheetDidEnd:(NSWindow *)sheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo returnCode will contain either NSOKButton or NSCancelButton. Note that the user can edit trust decisions in this panel; call SecTrustGetResult after the panel is dismissed to obtain the current trust result for the SecTrustRef. @param docWindow The parent window to which the sheet is attached. @param modalDelegate The object whose didEndSelector method will be called when the sheet is dismissed. @param didEndSelector This method is called when the sheet is dismissed. @param contextInfo Client-defined contextual data which will be passed to the didEndSelector method. @param trust A trust reference, previously created with SecTrustCreateWithCertificates (see <Security/SecTrust.h>). @param message Client-defined message string to display in the panel.
     */
    beginSheetForWindow$modalDelegate$didEndSelector$contextInfo$trust$message$(docWindow: _NSWindow, delegate: NobjcObject, didEndSelector: string, contextInfo: Uint8Array, trust: Uint8Array, message: _NSString): void;
    /**
     * @method setInformativeText: @abstract Sets the optional informative text displayed in the SFCertificateTrustPanel. @param informativeText The informative text to display in the panel. @discussion By default, informative text describing the current certificate trust status is displayed. Call this method only if your application needs to customize the displayed informative text.
     */
    setInformativeText$(informativeText: _NSString): void;
    /**
     * @method informativeText @abstract Returns the informative text currently displayed in the SFCertificateTrustPanel.
     */
    informativeText(): _NSString;
}
