import type { Simctl } from '../simctl'; import type { CertOptions } from '../types'; /** * Adds the given certificate to the Trusted Root Store on the simulator * * @since Xcode 11.4 SDK * @param cert the full path to a valid .cert file containing * the certificate content or the certificate content itself, depending on * options * @param opts - Certificate options * @throws {Error} if the current SDK version does not support the command * or there was an error while adding the certificate * @throws {Error} If the `udid` instance property is unset */ export declare function addRootCertificate(this: Simctl, cert: string | Buffer, opts?: CertOptions): Promise; /** * Adds the given certificate to the Keychain Store on the simulator * * @since Xcode 11.4 SDK * @param cert the full path to a valid .cert file containing * the certificate content or the certificate content itself, depending on * options * @param opts - Certificate options * @throws {Error} if the current SDK version does not support the command * or there was an error while adding the certificate * @throws {Error} If the `udid` instance property is unset */ export declare function addCertificate(this: Simctl, cert: string | Buffer, opts?: CertOptions): Promise; /** * Resets the simulator keychain * * @since Xcode 11.4 SDK * @throws {Error} if the current SDK version does not support the command * or there was an error while resetting the keychain * @throws {Error} If the `udid` instance property is unset */ export declare function resetKeychain(this: Simctl): Promise; //# sourceMappingURL=keychain.d.ts.map