// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
export class Analyze extends APIResource {
    /**
     * Returns the set of hostnames, the signature algorithm, and the expiration date
     * of the certificate.
     */
    create(params, options) {
        const { zone_id, ...body } = params;
        return this._client.post(`/zones/${zone_id}/ssl/analyze`, { body, ...options })._thenUnwrap((obj) => obj.result);
    }
}
(function (Analyze) {
})(Analyze || (Analyze = {}));
//# sourceMappingURL=analyze.mjs.map