import type { NobjcObject } from "objc-js";
import type { _NSArray } from "../Foundation/NSArray.js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { _TKTokenKeychainCertificate } from "./TKTokenKeychainCertificate.js";
import type { _TKTokenKeychainKey } from "./TKTokenKeychainKey.js";
export declare class _TKTokenKeychainContents extends _NSObject {
    static alloc(): _TKTokenKeychainContents;
    static new(): _TKTokenKeychainContents;
    init(): _TKTokenKeychainContents;
    /**
     * @discussion Fills keychain with the set of specified items. All items belonging to token are first removed from the keychain and then the keychain is populated with new items. @param items New items to be stored into the keychain.
     */
    fillWithItems$(items: _NSArray): void;
    /**
     * @discussion Returns key with specified objectID. Fills error with TKTokenErrorCodeObjectNotFound if no such key exists.
     */
    keyForObjectID$error$(objectID: NobjcObject, error: NobjcObject | null): _TKTokenKeychainKey | null;
    /**
     * @discussion Returns certificate with specified objectID. Fills error with TKTokenErrorCodeObjectNotFound if no such certificate exists.
     */
    certificateForObjectID$error$(objectID: NobjcObject, error: NobjcObject | null): _TKTokenKeychainCertificate | null;
    /** @brief All items related to this token in the keychain. */
    items(): _NSArray;
}
